Home
last modified time | relevance | path

Searched refs:num_elements (Results 1 – 25 of 34) sorted by relevance

12

/hardware/intel/img/psb_video/src/
Dpsb_drv_debug.c864 …vabuf_fp, "BUFF SIZE :%d NUMELEMENTS:%d BUFF INFO:\n", obj_buffer->size, obj_buffer->num_elements); in psb__dump_va_buffers()
872 …mp_vabuf_fp,"0x%02x ,",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
884 for(k=0;k < obj_buffer->num_elements;++k) in psb__dump_va_buffers()
885 …tf(psb_dump_vabuf_fp,"0x%02x ",*((unsigned char *)(mapped_buffer+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
899 for(k=0;k < obj_buffer->num_elements;++k) in psb__dump_va_buffers()
900 …tf(psb_dump_vabuf_fp,"0x%02x ",*((unsigned char *)(mapped_buffer+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
923 …rbose_fp, "BUFF SIZE :%d NUMELEMENTS:%d BUFF INFO:\n", obj_buffer->size, obj_buffer->num_elements); in psb__dump_va_buffers_verbose()
931 …f_verbose_fp,"0x%02x ",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers_verbose()
934 …f_verbose_fp,"0x%02x ",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers_verbose()
937 …f_verbose_fp,"0x%02x ",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers_verbose()
[all …]
Dpnw_H263ES.c187 ASSERT(obj_buffer->num_elements == 1); in pnw__H263ES_process_sequence_param()
194 if ((obj_buffer->num_elements != 1) || in pnw__H263ES_process_sequence_param()
282 if ((obj_buffer->num_elements != 1) || in pnw__H263ES_process_picture_param()
360 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in pnw__H263ES_process_slice_param()
362 ctx->slice_param_num, obj_buffer->num_elements); in pnw__H263ES_process_slice_param()
369 ctx->slice_param_num = obj_buffer->num_elements; in pnw__H263ES_process_slice_param()
379 for (i = 0; i < obj_buffer->num_elements; i++) { in pnw__H263ES_process_slice_param()
Dpnw_MPEG4ES.c196 ASSERT(obj_buffer->num_elements == 1); in pnw__MPEG4ES_process_sequence_param()
204 if ((obj_buffer->num_elements != 1) || in pnw__MPEG4ES_process_sequence_param()
326 if ((obj_buffer->num_elements != 1) || in pnw__MPEG4ES_process_picture_param()
399 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in pnw__MPEG4ES_process_slice_param()
401 ctx->slice_param_num, obj_buffer->num_elements); in pnw__MPEG4ES_process_slice_param()
409 ctx->slice_param_num = obj_buffer->num_elements; in pnw__MPEG4ES_process_slice_param()
419 for (i = 0; i < obj_buffer->num_elements; i++) { in pnw__MPEG4ES_process_slice_param()
Dpnw_H264ES.c218 ASSERT(obj_buffer->num_elements == 1); in pnw__H264ES_process_sequence_param()
221 if ((obj_buffer->num_elements != 1) || in pnw__H264ES_process_sequence_param()
599 if ((obj_buffer->num_elements != 1) || in pnw__H264ES_process_picture_param()
857 if (obj_buffer->num_elements > (ctx->Height / 16)) { in pnw__H264ES_process_slice_param()
867 pBuffer = calloc(obj_buffer->num_elements, sizeof(VAEncSliceParameterBuffer)); in pnw__H264ES_process_slice_param()
880 obj_buffer->num_elements); in pnw__H264ES_process_slice_param()
895 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in pnw__H264ES_process_slice_param()
897 ctx->slice_param_num, obj_buffer->num_elements); in pnw__H264ES_process_slice_param()
904 ctx->slice_param_num = obj_buffer->num_elements; in pnw__H264ES_process_slice_param()
918 ctx->sRCParams.Slices = obj_buffer->num_elements; in pnw__H264ES_process_slice_param()
[all …]
Dpsb_drv_video.c1790 unsigned int num_elements, /* in */ in psb__CreateBuffer() argument
1825 …DEO_DEBUG_GENERAL, "Requesting buffer creation, size=%d,elements=%d,type=%s\n", size, num_elements, in psb__CreateBuffer()
1908 …vaStatus = psb__allocate_BO_buffer(driver_data, obj_context,obj_buffer, size * num_elements, data,… in psb__CreateBuffer()
1932 vaStatus = psb__allocate_malloc_buffer(obj_buffer, size * num_elements); in psb__CreateBuffer()
1944 obj_buffer->max_num_elements = num_elements; in psb__CreateBuffer()
1945 obj_buffer->num_elements = num_elements; in psb__CreateBuffer()
1949 memcpy(obj_buffer->buffer_data, data, size * num_elements); in psb__CreateBuffer()
1970 unsigned int num_elements, /* in */ in psb_CreateBuffer() argument
1979 CHECK_INVALID_PARAM(num_elements <= 0); in psb_CreateBuffer()
2020 … vaStatus = psb__CreateBuffer(driver_data, obj_context, type, size, num_elements, data, buf_desc); in psb_CreateBuffer()
[all …]
Dpsb_output.h170 unsigned int num_elements, /* in */
Dtng_VP8.c614 ASSERT(obj_buffer->num_elements == 1); in tng__VP8_process_picture_param()
618 if ((obj_buffer->num_elements != 1) || in tng__VP8_process_picture_param()
704 ASSERT(obj_buffer->num_elements == 1); in tng__VP8_process_probility_param()
707 if ((obj_buffer->num_elements != 1) || in tng__VP8_process_probility_param()
726 ASSERT(obj_buffer->num_elements == 1); in tng__VP8_process_iq_matrix()
728 if ((obj_buffer->num_elements != 1) || in tng__VP8_process_iq_matrix()
Dtng_vld_dec.c222 if (element_idx >= slice_buf->num_elements) { in vld_dec_process_slice_data()
499 buffer.num_elements = 1; in vld_dec_yuv_rotate()
Dtng_jpegdec.c568 ASSERT(obj_buffer->num_elements == 1); in tng__JPEG_process_picture_param()
571 if ((obj_buffer->num_elements != 1) || in tng__JPEG_process_picture_param()
637 ASSERT(obj_buffer->num_elements == 1); in tng__JPEG_process_iq_matrix()
725 ASSERT(obj_buffer->num_elements == 1); in tng__JPEG_process_huffman_tables()
Dtng_yuv_processor.c201 ASSERT(obj_buffer->num_elements == 1); in tng__yuv_processor_execute()
204 if ((obj_buffer->num_elements != 1) || in tng__yuv_processor_execute()
Dpnw_H264.c557 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_picture_param()
561 if ((obj_buffer->num_elements != 1) || in psb__H264_process_picture_param()
801 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_iq_matrix()
804 if ((obj_buffer->num_elements != 1) || in psb__H264_process_iq_matrix()
823 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_slice_group_map()
826 if (obj_buffer->num_elements != 1) { in psb__H264_process_slice_group_map()
Dpnw_MPEG2.c716 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG2_process_picture_param()
719 if ((obj_buffer->num_elements != 1) || in psb__MPEG2_process_picture_param()
868 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG2_process_iq_matrix()
871 if ((obj_buffer->num_elements != 1) || in psb__MPEG2_process_iq_matrix()
Dtng_H264ES.c1007 for (i = 0; i < obj_buffer->num_elements; i++) { in tng__H264ES_process_slice_param_mrfld()
1042 ctx->ui8SlicesPerPicture = obj_buffer->num_elements; in tng__H264ES_process_slice_param_mrfld()
1056 ctx->ui8SlicesPerPicture = obj_buffer->num_elements; in tng__H264ES_process_slice_param_mdfld()
/hardware/intel/common/libva/va/
Dva_trace.c124 unsigned int *num_elements /* out */
656 unsigned int num_elements, /* in */ in va_TraceCreateBuffer() argument
672 va_TraceMsg(trace_ctx, "\tnum_elements=%d\n", num_elements); in va_TraceCreateBuffer()
684 unsigned int num_elements; in va_TraceDestroyBuffer() local
688 vaBufferInfo(dpy, trace_ctx->trace_context, buf_id, &type, &size, &num_elements); in va_TraceDestroyBuffer()
698 va_TraceMsg(trace_ctx, "\tnum_elements=%d\n", num_elements); in va_TraceDestroyBuffer()
712 unsigned int num_elements; in va_TraceMapBuffer() local
719 vaBufferInfo(dpy, trace_ctx->trace_context, buf_id, &type, &size, &num_elements); in va_TraceMapBuffer()
757 unsigned int num_elements, in va_TraceVABuffers() argument
768 context, buffer, type, size, num_elements); in va_TraceVABuffers()
[all …]
Dva_fool.h66 unsigned int num_elements, /* in */
82 unsigned int *num_elements /* out */
Dva_fool.c220 unsigned int num_elements, /* in */ in va_FoolCreateBuffer() argument
225 unsigned int new_size = size * num_elements; in va_FoolCreateBuffer()
235 fool_ctx->fool_buf_element[type] = num_elements; in va_FoolCreateBuffer()
251 unsigned int *num_elements /* out */ in va_FoolBufferInfo() argument
264 *num_elements = fool_ctx->fool_buf_element[*type];; in va_FoolBufferInfo()
Dva_backend.h138 unsigned int num_elements, /* in */
146 unsigned int num_elements /* in */
367 unsigned int *num_elements /* out */
Dva.c935 unsigned int num_elements, /* in */ in vaCreateBuffer() argument
946 VA_FOOL_FUNC(va_FoolCreateBuffer, dpy, context, type, size, num_elements, data, buf_id); in vaCreateBuffer()
948 vaStatus = ctx->vtable->vaCreateBuffer( ctx, context, type, size, num_elements, data, buf_id); in vaCreateBuffer()
951 dpy, context, type, size, num_elements, data, buf_id); in vaCreateBuffer()
959 unsigned int num_elements /* in */ in vaBufferSetNumElements() argument
968 return ctx->vtable->vaBufferSetNumElements( ctx, buf_id, num_elements ); in vaBufferSetNumElements()
1030 unsigned int *num_elements /* out */ in vaBufferInfo() argument
1038 VA_FOOL_FUNC(va_FoolBufferInfo, dpy, buf_id, type, size, num_elements); in vaBufferInfo()
1040 return ctx->vtable->vaBufferInfo( ctx, buf_id, type, size, num_elements ); in vaBufferInfo()
Dva_trace.h110 unsigned int num_elements, /* in */
/hardware/intel/img/psb_video/src/mrst/
Dlnc_H263ES.c193 ASSERT(obj_buffer->num_elements == 1); in lnc__H263ES_process_sequence_param()
196 if ((obj_buffer->num_elements != 1) || in lnc__H263ES_process_sequence_param()
257 if ((obj_buffer->num_elements != 1) || in lnc__H263ES_process_picture_param()
346 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in lnc__H263ES_process_slice_param()
348 ctx->slice_param_num, obj_buffer->num_elements); in lnc__H263ES_process_slice_param()
355 ctx->slice_param_num = obj_buffer->num_elements; in lnc__H263ES_process_slice_param()
365 for (i = 0; i < obj_buffer->num_elements; i++) { in lnc__H263ES_process_slice_param()
Dlnc_MPEG4ES.c202 ASSERT(obj_buffer->num_elements == 1); in lnc__MPEG4ES_process_sequence_param()
205 if ((obj_buffer->num_elements != 1) || in lnc__MPEG4ES_process_sequence_param()
288 if ((obj_buffer->num_elements != 1) || in lnc__MPEG4ES_process_picture_param()
351 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in lnc__MPEG4ES_process_slice_param()
353 ctx->slice_param_num, obj_buffer->num_elements); in lnc__MPEG4ES_process_slice_param()
361 ctx->slice_param_num = obj_buffer->num_elements; in lnc__MPEG4ES_process_slice_param()
370 for (i = 0; i < obj_buffer->num_elements; i++) { in lnc__MPEG4ES_process_slice_param()
Dlnc_H264ES.c217 ASSERT(obj_buffer->num_elements == 1); in lnc__H264ES_process_sequence_param()
220 if ((obj_buffer->num_elements != 1) || in lnc__H264ES_process_sequence_param()
324 if ((obj_buffer->num_elements != 1) || in lnc__H264ES_process_picture_param()
447 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in lnc__H264ES_process_slice_param()
449 ctx->slice_param_num, obj_buffer->num_elements); in lnc__H264ES_process_slice_param()
456 ctx->slice_param_num = obj_buffer->num_elements; in lnc__H264ES_process_slice_param()
466 for (i = 0; i < obj_buffer->num_elements; i++) { in lnc__H264ES_process_slice_param()
477 obj_buffer->num_elements, obj_buffer->num_elements - i); in lnc__H264ES_process_slice_param()
Dpsb_H264.c616 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_picture_param()
620 if ((obj_buffer->num_elements != 1) || in psb__H264_process_picture_param()
778 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_iq_matrix()
781 if ((obj_buffer->num_elements != 1) || in psb__H264_process_iq_matrix()
802 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_slice_group_map()
805 if ((obj_buffer->num_elements != 1) || in psb__H264_process_slice_group_map()
1733 if (element_idx >= slice_buf->num_elements) { in psb__H264_process_slice_data()
Dpsb_MPEG2.c699 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG2_process_picture_param()
702 if ((obj_buffer->num_elements != 1) || in psb__MPEG2_process_picture_param()
845 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG2_process_iq_matrix()
848 if ((obj_buffer->num_elements != 1) || in psb__MPEG2_process_iq_matrix()
1392 if (element_idx >= slice_buf->num_elements) { in psb__MPEG2_process_slice_data()
Dpsb_MPEG4.c587 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG4_process_picture_param()
590 if ((obj_buffer->num_elements != 1) || in psb__MPEG4_process_picture_param()
805 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG4_process_iq_matrix()
808 if ((obj_buffer->num_elements != 1) || in psb__MPEG4_process_iq_matrix()
1356 if (element_idx >= slice_buf->num_elements) { in psb__MPEG4_process_slice_data()

12