add av1_ prefix to update_frame_size It'a a public function now Change-Id: I25b62b4fdb56fb7567e0a1c8208d75b2c95539a3
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c index fa66cee..160f186 100644 --- a/av1/encoder/encoder.c +++ b/av1/encoder/encoder.c
@@ -292,7 +292,7 @@ av1_calculate_tile_rows(seq_params, mi_params->mi_rows, tiles); } -void update_frame_size(AV1_COMP *cpi) { +void av1_update_frame_size(AV1_COMP *cpi) { AV1_COMMON *const cm = &cpi->common; MACROBLOCKD *const xd = &cpi->td.mb.e_mbd; @@ -774,7 +774,7 @@ initial_dimensions->width = initial_dimensions->height = 0; } } - update_frame_size(cpi); + av1_update_frame_size(cpi); rc->is_src_frame_alt_ref = 0; @@ -1994,7 +1994,7 @@ realloc_segmentation_maps(cpi); initial_dimensions->width = initial_dimensions->height = 0; } - update_frame_size(cpi); + av1_update_frame_size(cpi); return 0; }
diff --git a/av1/encoder/encoder.h b/av1/encoder/encoder.h index dd39f1c..7a65a9e 100644 --- a/av1/encoder/encoder.h +++ b/av1/encoder/encoder.h
@@ -2854,7 +2854,7 @@ void av1_set_screen_content_options(struct AV1_COMP *cpi, FeatureFlags *features); -void update_frame_size(AV1_COMP *cpi); +void av1_update_frame_size(AV1_COMP *cpi); // TODO(jingning): Move these functions as primitive members for the new cpi // class.
diff --git a/av1/encoder/svc_layercontext.c b/av1/encoder/svc_layercontext.c index d12cb14..650ec27 100644 --- a/av1/encoder/svc_layercontext.c +++ b/av1/encoder/svc_layercontext.c
@@ -354,7 +354,7 @@ cpi->common.width = width; cpi->common.height = height; - update_frame_size(cpi); + av1_update_frame_size(cpi); } void av1_svc_set_mt_per_spatial_layer(AV1_COMP *const cpi) {