From 716bfd817cb189e1ad70d6193aea73f1e01b132c Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Fri, 4 Nov 2011 17:23:48 +0100 Subject: [PATCH] test: rename H.264 encoding buffer structs with a Baseline suffix. Signed-off-by: Gwenole Beauchesne --- test/encode/avcenc.c | 4 ++-- test/encode/h264encode_common.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/encode/avcenc.c b/test/encode/avcenc.c index a29e55b..e38d091 100644 --- a/test/encode/avcenc.c +++ b/test/encode/avcenc.c @@ -185,7 +185,7 @@ static void alloc_encode_resource() //1. Create sequence parameter set { - VAEncSequenceParameterBufferH264 seq_h264 = {0}; + VAEncSequenceParameterBufferH264Baseline seq_h264 = {0}; seq_h264.level_idc = 30; seq_h264.picture_width_in_mbs = picture_width_in_mbs; @@ -297,7 +297,7 @@ static void upload_yuv_to_surface(FILE *yuv_fp, VASurfaceID surface_id) static void prepare_input(FILE * yuv_fp, int intra_slice) { - static VAEncPictureParameterBufferH264 pic_h264; + static VAEncPictureParameterBufferH264Baseline pic_h264; static VAEncSliceParameterBuffer slice_h264; VAStatus va_status; VABufferID tempID; diff --git a/test/encode/h264encode_common.c b/test/encode/h264encode_common.c index e0a411b..91b4e3d 100644 --- a/test/encode/h264encode_common.c +++ b/test/encode/h264encode_common.c @@ -155,7 +155,7 @@ enum { static int do_h264_encoding(void) { - VAEncPictureParameterBufferH264 pic_h264; + VAEncPictureParameterBufferH264Baseline pic_h264; VAEncSliceParameterBuffer slice_h264; VAStatus va_status; VABufferID seq_param_buf, pic_param_buf, slice_param_buf; @@ -198,7 +198,7 @@ static int do_h264_encoding(void) CHECK_VASTATUS(va_status,"vaBeginPicture"); if (i == 0) { - VAEncSequenceParameterBufferH264 seq_h264; + VAEncSequenceParameterBufferH264Baseline seq_h264; VABufferID seq_param_buf; seq_h264.level_idc = SH_LEVEL_3; -- 2.7.4