clang-tidy: av1/decoder
BUG=aomedia:2228
Change-Id: I78f90df18e91f52e595f1cfd8154ed9d67ffc166
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index 4269a5a..8af77e6 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -3647,7 +3647,7 @@
static void enqueue_tile_jobs(AV1Decoder *pbi, AV1_COMMON *cm,
int tile_rows_start, int tile_rows_end,
int tile_cols_start, int tile_cols_end,
- int startTile, int endTile) {
+ int start_tile, int end_tile) {
AV1DecTileMT *tile_mt_info = &pbi->tile_mt_info;
TileJobsDec *tile_job_queue = tile_mt_info->job_queue;
tile_mt_info->jobs_enqueued = 0;
@@ -3655,8 +3655,8 @@
for (int row = tile_rows_start; row < tile_rows_end; row++) {
for (int col = tile_cols_start; col < tile_cols_end; col++) {
- if (row * cm->tile_cols + col < startTile ||
- row * cm->tile_cols + col > endTile)
+ if (row * cm->tile_cols + col < start_tile ||
+ row * cm->tile_cols + col > end_tile)
continue;
tile_job_queue->tile_buffer = &pbi->tile_buffers[row][col];
tile_job_queue->tile_data = pbi->tile_data + row * cm->tile_cols + col;
diff --git a/av1/decoder/decodeframe.h b/av1/decoder/decodeframe.h
index ddad273..13b9696 100644
--- a/av1/decoder/decodeframe.h
+++ b/av1/decoder/decodeframe.h
@@ -46,8 +46,8 @@
void av1_decode_tg_tiles_and_wrapup(struct AV1Decoder *pbi, const uint8_t *data,
const uint8_t *data_end,
- const uint8_t **p_data_end, int startTile,
- int endTile, int initialize_flag);
+ const uint8_t **p_data_end, int start_tile,
+ int end_tile, int initialize_flag);
// Implements the color_config() function in the spec. Reports errors by
// calling rb->error_handler() or aom_internal_error().
diff --git a/av1/decoder/decoder.h b/av1/decoder/decoder.h
index ca1fcd6..838080f 100644
--- a/av1/decoder/decoder.h
+++ b/av1/decoder/decoder.h
@@ -260,7 +260,7 @@
// Returns 0 on success. Sets pbi->common.error.error_code to a nonzero error
// code and returns a nonzero value on failure.
int av1_receive_compressed_data(struct AV1Decoder *pbi, size_t size,
- const uint8_t **dest);
+ const uint8_t **psource);
// Get the frame at a particular index in the output queue
int av1_get_raw_frame(AV1Decoder *pbi, size_t index, YV12_BUFFER_CONFIG **sd,
@@ -281,7 +281,7 @@
struct AV1Decoder *av1_decoder_create(BufferPool *const pool);
void av1_decoder_remove(struct AV1Decoder *pbi);
-void av1_dealloc_dec_jobs(struct AV1DecTileMTData *tile_jobs_sync);
+void av1_dealloc_dec_jobs(struct AV1DecTileMTData *tile_mt_info);
void av1_dec_row_mt_dealloc(AV1DecRowMTSync *dec_row_mt_sync);
diff --git a/av1/decoder/obu.h b/av1/decoder/obu.h
index 5ab243f..d8ebe36 100644
--- a/av1/decoder/obu.h
+++ b/av1/decoder/obu.h
@@ -25,7 +25,7 @@
const uint8_t **p_data_end);
aom_codec_err_t aom_get_num_layers_from_operating_point_idc(
- int operating_point_idc, unsigned int *num_spatial_layers,
- unsigned int *num_temporal_layers);
+ int operating_point_idc, unsigned int *number_spatial_layers,
+ unsigned int *number_temporal_layers);
#endif // AOM_AV1_DECODER_OBU_H_