From f9fb3b8e0eaa88dbe8b7c7ebfd5e9ae0f74f60e8 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev <dkovalev@google.com> Date: Thu, 21 Aug 2014 18:06:04 -0700 Subject: [PATCH] =?UTF-8?q?Replacing=20'struct=20vpx=5Ffixed=5Fbuf'=20with?= =?UTF-8?q?=20'vpx=5Ffixed=5Fbuf=5Ft=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ibbbc5b39429d4b753f0a966b9d84d1d7bf823650 --- vp8/common/onyx.h | 2 +- vp9/encoder/vp9_encoder.h | 6 +++--- vp9/encoder/vp9_svc_layercontext.h | 2 +- vpx/internal/vpx_codec_internal.h | 2 +- vpx/vpx_encoder.h | 10 +++++----- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/vp8/common/onyx.h b/vp8/common/onyx.h index b05ad146c1..d48c4fe5e3 100644 --- a/vp8/common/onyx.h +++ b/vp8/common/onyx.h @@ -224,7 +224,7 @@ extern "C" int arnr_strength; int arnr_type; - struct vpx_fixed_buf two_pass_stats_in; + vpx_fixed_buf_t two_pass_stats_in; struct vpx_codec_pkt_list *output_pkt_list; vp8e_tuning tuning; diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h index 82be0f4b6e..c3ff2211b9 100644 --- a/vp9/encoder/vp9_encoder.h +++ b/vp9/encoder/vp9_encoder.h @@ -208,11 +208,11 @@ typedef struct VP9EncoderConfig { int tile_columns; int tile_rows; - struct vpx_fixed_buf two_pass_stats_in; - struct vpx_codec_pkt_list *output_pkt_list; + vpx_fixed_buf_t two_pass_stats_in; + struct vpx_codec_pkt_list *output_pkt_list; #if CONFIG_FP_MB_STATS - struct vpx_fixed_buf firstpass_mb_stats_in; + vpx_fixed_buf_t firstpass_mb_stats_in; #endif vp8e_tuning tuning; diff --git a/vp9/encoder/vp9_svc_layercontext.h b/vp9/encoder/vp9_svc_layercontext.h index 801449b6f1..0857e39cda 100644 --- a/vp9/encoder/vp9_svc_layercontext.h +++ b/vp9/encoder/vp9_svc_layercontext.h @@ -25,7 +25,7 @@ typedef struct { double framerate; int avg_frame_size; TWO_PASS twopass; - struct vpx_fixed_buf rc_twopass_stats_in; + vpx_fixed_buf_t rc_twopass_stats_in; unsigned int current_video_frame_in_layer; int is_key_frame; vpx_svc_parameters_t svc_params_received; diff --git a/vpx/internal/vpx_codec_internal.h b/vpx/internal/vpx_codec_internal.h index 82bef55c99..d7c5800606 100644 --- a/vpx/internal/vpx_codec_internal.h +++ b/vpx/internal/vpx_codec_internal.h @@ -344,7 +344,7 @@ struct vpx_codec_priv { vpx_codec_priv_cb_pair_t put_slice_cb; } dec; struct { - struct vpx_fixed_buf cx_data_dst_buf; + vpx_fixed_buf_t cx_data_dst_buf; unsigned int cx_data_pad_before; unsigned int cx_data_pad_after; vpx_codec_cx_pkt_t cx_data_pkt; diff --git a/vpx/vpx_encoder.h b/vpx/vpx_encoder.h index 7dbbf2f61d..58acf18a8e 100644 --- a/vpx/vpx_encoder.h +++ b/vpx/vpx_encoder.h @@ -188,14 +188,14 @@ extern "C" { has id 0.*/ } frame; /**< data for compressed frame packet */ - struct vpx_fixed_buf twopass_stats; /**< data for two-pass packet */ - struct vpx_fixed_buf firstpass_mb_stats; /**< first pass mb packet */ + vpx_fixed_buf_t twopass_stats; /**< data for two-pass packet */ + vpx_fixed_buf_t firstpass_mb_stats; /**< first pass mb packet */ struct vpx_psnr_pkt { unsigned int samples[4]; /**< Number of samples, total/y/u/v */ uint64_t sse[4]; /**< sum squared error, total/y/u/v */ double psnr[4]; /**< PSNR, total/y/u/v */ } psnr; /**< data for PSNR packet */ - struct vpx_fixed_buf raw; /**< data for arbitrary packets */ + vpx_fixed_buf_t raw; /**< data for arbitrary packets */ #if CONFIG_SPATIAL_SVC size_t layer_sizes[VPX_SS_MAX_LAYERS]; #endif @@ -452,14 +452,14 @@ extern "C" { * A buffer containing all of the stats packets produced in the first * pass, concatenated. */ - struct vpx_fixed_buf rc_twopass_stats_in; + vpx_fixed_buf_t rc_twopass_stats_in; /*!\brief first pass mb stats buffer. * * A buffer containing all of the first pass mb stats packets produced * in the first pass, concatenated. */ - struct vpx_fixed_buf rc_firstpass_mb_stats_in; + vpx_fixed_buf_t rc_firstpass_mb_stats_in; /*!\brief Target data rate * -- GitLab