/hardware/intel/common/libva/test/basic/ |
test_10.c | 105 VABufferID buffer_ids[NUM_BUFFER_TYPES+1]; local 107 memset(buffer_ids, 0xff, sizeof(buffer_ids)); 110 buffer_ids[i+1] = DEAD_BUFFER_ID; 111 va_status = vaCreateBuffer(va_dpy, context, buffer_types[i], buffer_sizes[i], 1, NULL, &buffer_ids[i]); 113 ASSERT( DEAD_BUFFER_ID == buffer_ids[i+1] ); /* Bounds check */ 115 test_unique_buffers(buffer_ids, NUM_BUFFER_TYPES); 119 va_status = vaDestroyBuffer(va_dpy, buffer_ids[i]);
|
test_11.c | 105 VABufferID buffer_ids[NUM_BUFFER_TYPES+1]; local 108 memset(buffer_ids, 0xff, sizeof(buffer_ids)); 128 va_status = vaCreateBuffer(va_dpy, context, buffer_types[i], buffer_sizes[i], 1, data, &buffer_ids[i]); 130 status("vaCreateBuffer created buffer %08x of type %d\n", buffer_ids[i], buffer_types[i]); 141 va_status = vaMapBuffer(va_dpy, buffer_ids[i], &data); 143 status("vaMapBuffer mapped buffer %08x\n", buffer_ids[i]); 151 va_status = vaUnmapBuffer(va_dpy, buffer_ids[i]); 154 va_status = vaDestroyBuffer(va_dpy, buffer_ids[i]);
|
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoformat_mp42.c | 604 VABufferID *buffer_ids = NULL; local 859 LOG_V("number_slices is %d, allocating %d buffer_ids\n", 876 buffer_ids = g_malloc(sizeof(VABufferID) * buffer_id_number); 877 if (buffer_ids == NULL) { 879 LOG_E("Failed to allocate buffer_ids!\n"); 963 &buffer_ids[buffer_id_cnt]); 977 &buffer_ids[buffer_id_cnt]); 1001 &buffer_ids[buffer_id_cnt]); 1012 + slice_data->slice_offset, &buffer_ids[buffer_id_cnt]); 1041 va_ret = vaRenderPicture(va_display, va_context, buffer_ids, buffer_id_cnt) [all...] |
mixvideoformat_h264.c | 1029 VABufferID *buffer_ids = NULL; local 1063 LOG_V( "num_slices is %d, allocating %d buffer_ids\n", pic_data->num_slices, (pic_data->num_slices * 2) + 2); 1065 buffer_ids = g_malloc(sizeof(VABufferID) * 1068 if (buffer_ids == NULL) 1147 &buffer_ids[buffer_id_cnt]); 1166 &buffer_ids[buffer_id_cnt]); [all...] |
mixvideoformat_vc1.c | 928 VABufferID *buffer_ids = NULL; local 941 LOG_V( "num_slices is %d, allocating %d buffer_ids\n", pic_data->num_slices, (pic_data->num_slices * 2) + 2); 964 buffer_ids = g_malloc(sizeof(VABufferID) * ((pic_data->num_slices * 2) + 2)); 965 if (buffer_ids == NULL) 1147 &buffer_ids[buffer_id_cnt]); 1170 &buffer_ids[buffer_id_cnt]); [all...] |
/external/libvncserver/libvncclient/ |
h264.c | 378 VABufferID buffer_ids[2]; local 379 buffer_ids[0] = va_pic_param_buf_id[sid]; 380 buffer_ids[1] = va_mat_param_buf_id[sid]; 383 va_status = vaRenderPicture(va_dpy, va_context_id, buffer_ids, 2); 429 buffer_ids[0] = va_sp_param_buf_id[sid]; 430 buffer_ids[1] = va_d_param_buf_id[sid]; 433 va_status = vaRenderPicture(va_dpy, va_context_id, buffer_ids, 2);
|