Searched refs:buffer_ids (Results 1 – 5 of 5) sorted by relevance
/hardware/intel/common/libva/test/basic/ |
D | test_10.c | 105 VABufferID buffer_ids[NUM_BUFFER_TYPES+1]; in test() local 107 memset(buffer_ids, 0xff, sizeof(buffer_ids)); in test() 110 buffer_ids[i+1] = DEAD_BUFFER_ID; in test() 111 …tatus = vaCreateBuffer(va_dpy, context, buffer_types[i], buffer_sizes[i], 1, NULL, &buffer_ids[i]); in test() 113 ASSERT( DEAD_BUFFER_ID == buffer_ids[i+1] ); /* Bounds check */ in test() 115 test_unique_buffers(buffer_ids, NUM_BUFFER_TYPES); in test() 119 va_status = vaDestroyBuffer(va_dpy, buffer_ids[i]); in test()
|
D | test_11.c | 105 VABufferID buffer_ids[NUM_BUFFER_TYPES+1]; in test() local 108 memset(buffer_ids, 0xff, sizeof(buffer_ids)); in test() 128 …tatus = vaCreateBuffer(va_dpy, context, buffer_types[i], buffer_sizes[i], 1, data, &buffer_ids[i]); in test() 130 status("vaCreateBuffer created buffer %08x of type %d\n", buffer_ids[i], buffer_types[i]); in test() 141 va_status = vaMapBuffer(va_dpy, buffer_ids[i], &data); in test() 143 status("vaMapBuffer mapped buffer %08x\n", buffer_ids[i]); in test() 151 va_status = vaUnmapBuffer(va_dpy, buffer_ids[i]); in test() 154 va_status = vaDestroyBuffer(va_dpy, buffer_ids[i]); in test()
|
/hardware/intel/common/libmix/mix_video/src/ |
D | mixvideoformat_mp42.c | 604 VABufferID *buffer_ids = NULL; in mix_videofmt_mp42_process_decode() local 876 buffer_ids = g_malloc(sizeof(VABufferID) * buffer_id_number); in mix_videofmt_mp42_process_decode() 877 if (buffer_ids == NULL) { in mix_videofmt_mp42_process_decode() 963 &buffer_ids[buffer_id_cnt]); in mix_videofmt_mp42_process_decode() 977 &buffer_ids[buffer_id_cnt]); in mix_videofmt_mp42_process_decode() 1001 &buffer_ids[buffer_id_cnt]); in mix_videofmt_mp42_process_decode() 1012 + slice_data->slice_offset, &buffer_ids[buffer_id_cnt]); in mix_videofmt_mp42_process_decode() 1041 va_ret = vaRenderPicture(va_display, va_context, buffer_ids, buffer_id_cnt); in mix_videofmt_mp42_process_decode() 1105 g_free(buffer_ids); in mix_videofmt_mp42_process_decode()
|
D | mixvideoformat_vc1.c | 928 VABufferID *buffer_ids = NULL; in mix_videofmt_vc1_decode_a_picture() local 964 buffer_ids = g_malloc(sizeof(VABufferID) * ((pic_data->num_slices * 2) + 2)); in mix_videofmt_vc1_decode_a_picture() 965 if (buffer_ids == NULL) in mix_videofmt_vc1_decode_a_picture() 1147 &buffer_ids[buffer_id_cnt]); in mix_videofmt_vc1_decode_a_picture() 1170 &buffer_ids[buffer_id_cnt]); in mix_videofmt_vc1_decode_a_picture() 1196 &buffer_ids[buffer_id_cnt]); in mix_videofmt_vc1_decode_a_picture() 1224 &buffer_ids[buffer_id_cnt]); in mix_videofmt_vc1_decode_a_picture() 1255 buffer_ids, in mix_videofmt_vc1_decode_a_picture() 1290 if (NULL != buffer_ids) in mix_videofmt_vc1_decode_a_picture() 1291 g_free(buffer_ids); in mix_videofmt_vc1_decode_a_picture()
|
D | mixvideoformat_h264.c | 1029 VABufferID *buffer_ids = NULL; in mix_videofmt_h264_process_decode_picture() local 1065 buffer_ids = g_malloc(sizeof(VABufferID) * in mix_videofmt_h264_process_decode_picture() 1068 if (buffer_ids == NULL) in mix_videofmt_h264_process_decode_picture() 1147 &buffer_ids[buffer_id_cnt]); in mix_videofmt_h264_process_decode_picture() 1166 &buffer_ids[buffer_id_cnt]); in mix_videofmt_h264_process_decode_picture() 1242 &buffer_ids[buffer_id_cnt]); in mix_videofmt_h264_process_decode_picture() 1270 &buffer_ids[buffer_id_cnt]); in mix_videofmt_h264_process_decode_picture() 1310 buffer_ids, in mix_videofmt_h264_process_decode_picture() 1386 if (NULL != buffer_ids) in mix_videofmt_h264_process_decode_picture() 1387 g_free(buffer_ids); in mix_videofmt_h264_process_decode_picture()
|