hardware/intel/libva
Revision | 716bfd817cb189e1ad70d6193aea73f1e01b132c (tree) |
---|---|
Zeit | 2013-05-28 17:46:47 |
Autor | Gwenole Beauchesne <gwenole.beauchesne@inte...> |
Commiter | Xiang, Haihao |
test: rename H.264 encoding buffer structs with a Baseline suffix.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
@@ -185,7 +185,7 @@ static void alloc_encode_resource() | ||
185 | 185 | |
186 | 186 | //1. Create sequence parameter set |
187 | 187 | { |
188 | - VAEncSequenceParameterBufferH264 seq_h264 = {0}; | |
188 | + VAEncSequenceParameterBufferH264Baseline seq_h264 = {0}; | |
189 | 189 | |
190 | 190 | seq_h264.level_idc = 30; |
191 | 191 | 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) | ||
297 | 297 | |
298 | 298 | static void prepare_input(FILE * yuv_fp, int intra_slice) |
299 | 299 | { |
300 | - static VAEncPictureParameterBufferH264 pic_h264; | |
300 | + static VAEncPictureParameterBufferH264Baseline pic_h264; | |
301 | 301 | static VAEncSliceParameterBuffer slice_h264; |
302 | 302 | VAStatus va_status; |
303 | 303 | VABufferID tempID; |
@@ -155,7 +155,7 @@ enum { | ||
155 | 155 | |
156 | 156 | static int do_h264_encoding(void) |
157 | 157 | { |
158 | - VAEncPictureParameterBufferH264 pic_h264; | |
158 | + VAEncPictureParameterBufferH264Baseline pic_h264; | |
159 | 159 | VAEncSliceParameterBuffer slice_h264; |
160 | 160 | VAStatus va_status; |
161 | 161 | VABufferID seq_param_buf, pic_param_buf, slice_param_buf; |
@@ -198,7 +198,7 @@ static int do_h264_encoding(void) | ||
198 | 198 | CHECK_VASTATUS(va_status,"vaBeginPicture"); |
199 | 199 | |
200 | 200 | if (i == 0) { |
201 | - VAEncSequenceParameterBufferH264 seq_h264; | |
201 | + VAEncSequenceParameterBufferH264Baseline seq_h264; | |
202 | 202 | VABufferID seq_param_buf; |
203 | 203 | |
204 | 204 | seq_h264.level_idc = SH_LEVEL_3; |