• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revision716bfd817cb189e1ad70d6193aea73f1e01b132c (tree)
Zeit2013-05-28 17:46:47
AutorGwenole Beauchesne <gwenole.beauchesne@inte...>
CommiterXiang, Haihao

Log Message

test: rename H.264 encoding buffer structs with a Baseline suffix.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

Ändern Zusammenfassung

Diff

--- a/test/encode/avcenc.c
+++ b/test/encode/avcenc.c
@@ -185,7 +185,7 @@ static void alloc_encode_resource()
185185
186186 //1. Create sequence parameter set
187187 {
188- VAEncSequenceParameterBufferH264 seq_h264 = {0};
188+ VAEncSequenceParameterBufferH264Baseline seq_h264 = {0};
189189
190190 seq_h264.level_idc = 30;
191191 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)
297297
298298 static void prepare_input(FILE * yuv_fp, int intra_slice)
299299 {
300- static VAEncPictureParameterBufferH264 pic_h264;
300+ static VAEncPictureParameterBufferH264Baseline pic_h264;
301301 static VAEncSliceParameterBuffer slice_h264;
302302 VAStatus va_status;
303303 VABufferID tempID;
--- a/test/encode/h264encode_common.c
+++ b/test/encode/h264encode_common.c
@@ -155,7 +155,7 @@ enum {
155155
156156 static int do_h264_encoding(void)
157157 {
158- VAEncPictureParameterBufferH264 pic_h264;
158+ VAEncPictureParameterBufferH264Baseline pic_h264;
159159 VAEncSliceParameterBuffer slice_h264;
160160 VAStatus va_status;
161161 VABufferID seq_param_buf, pic_param_buf, slice_param_buf;
@@ -198,7 +198,7 @@ static int do_h264_encoding(void)
198198 CHECK_VASTATUS(va_status,"vaBeginPicture");
199199
200200 if (i == 0) {
201- VAEncSequenceParameterBufferH264 seq_h264;
201+ VAEncSequenceParameterBufferH264Baseline seq_h264;
202202 VABufferID seq_param_buf;
203203
204204 seq_h264.level_idc = SH_LEVEL_3;