Home
last modified time | relevance | path

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

12

/hardware/intel/img/psb_video/src/
Dpsb_drv_debug.c847 …vabuf_fp, "BUFF SIZE :%d NUMELEMENTS:%d BUFF INFO:\n", obj_buffer->size, obj_buffer->num_elements); in psb__dump_va_buffers()
855 …mp_vabuf_fp,"0x%02x ,",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
867 for(k=0;k < obj_buffer->num_elements;++k) in psb__dump_va_buffers()
868 …tf(psb_dump_vabuf_fp,"0x%02x ",*((unsigned char *)(mapped_buffer+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
882 for(k=0;k < obj_buffer->num_elements;++k) in psb__dump_va_buffers()
883 …tf(psb_dump_vabuf_fp,"0x%02x ",*((unsigned char *)(mapped_buffer+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers()
906 …rbose_fp, "BUFF SIZE :%d NUMELEMENTS:%d BUFF INFO:\n", obj_buffer->size, obj_buffer->num_elements); in psb__dump_va_buffers_verbose()
914 …f_verbose_fp,"0x%02x ",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers_verbose()
917 …f_verbose_fp,"0x%02x ",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); in psb__dump_va_buffers_verbose()
920 …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_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_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_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()
856 if (obj_buffer->num_elements > (ctx->Height / 16)) { in pnw__H264ES_process_slice_param()
866 pBuffer = calloc(obj_buffer->num_elements, sizeof(VAEncSliceParameterBuffer)); in pnw__H264ES_process_slice_param()
877 obj_buffer->num_elements); in pnw__H264ES_process_slice_param()
892 if ((ctx->slice_param_cache != NULL) && (obj_buffer->num_elements != ctx->slice_param_num)) { in pnw__H264ES_process_slice_param()
894 ctx->slice_param_num, obj_buffer->num_elements); in pnw__H264ES_process_slice_param()
901 ctx->slice_param_num = obj_buffer->num_elements; in pnw__H264ES_process_slice_param()
915 ctx->sRCParams.Slices = obj_buffer->num_elements; in pnw__H264ES_process_slice_param()
[all …]
Dpsb_drv_video.c1731 unsigned int num_elements, /* in */ in psb__CreateBuffer() argument
1766 …DEO_DEBUG_GENERAL, "Requesting buffer creation, size=%d,elements=%d,type=%s\n", size, num_elements, in psb__CreateBuffer()
1849 …vaStatus = psb__allocate_BO_buffer(driver_data, obj_context,obj_buffer, size * num_elements, data,… in psb__CreateBuffer()
1873 vaStatus = psb__allocate_malloc_buffer(obj_buffer, size * num_elements); in psb__CreateBuffer()
1885 obj_buffer->max_num_elements = num_elements; in psb__CreateBuffer()
1886 obj_buffer->num_elements = num_elements; in psb__CreateBuffer()
1890 memcpy(obj_buffer->buffer_data, data, size * num_elements); in psb__CreateBuffer()
1911 unsigned int num_elements, /* in */ in psb_CreateBuffer() argument
1920 CHECK_INVALID_PARAM(num_elements <= 0); in psb_CreateBuffer()
1961 … 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.c196 ASSERT(obj_buffer->num_elements == 1); in tng__yuv_processor_execute()
199 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()
/hardware/intel/common/libva/va/
Dva_trace.c122 unsigned int *num_elements /* out */
651 unsigned int num_elements, /* in */ in va_TraceCreateBuffer() argument
667 va_TraceMsg(trace_ctx, "\tnum_elements=%d\n", num_elements); in va_TraceCreateBuffer()
679 unsigned int num_elements; in va_TraceDestroyBuffer() local
683 vaBufferInfo(dpy, trace_ctx->trace_context, buf_id, &type, &size, &num_elements); in va_TraceDestroyBuffer()
693 va_TraceMsg(trace_ctx, "\tnum_elements=%d\n", num_elements); in va_TraceDestroyBuffer()
707 unsigned int num_elements; in va_TraceMapBuffer() local
714 vaBufferInfo(dpy, trace_ctx->trace_context, buf_id, &type, &size, &num_elements); in va_TraceMapBuffer()
752 unsigned int num_elements, in va_TraceVABuffers() argument
763 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.c941 unsigned int num_elements, /* in */ in vaCreateBuffer() argument
952 VA_FOOL_FUNC(va_FoolCreateBuffer, dpy, context, type, size, num_elements, data, buf_id); in vaCreateBuffer()
954 vaStatus = ctx->vtable->vaCreateBuffer( ctx, context, type, size, num_elements, data, buf_id); in vaCreateBuffer()
957 dpy, context, type, size, num_elements, data, buf_id); in vaCreateBuffer()
965 unsigned int num_elements /* in */ in vaBufferSetNumElements() argument
974 return ctx->vtable->vaBufferSetNumElements( ctx, buf_id, num_elements ); in vaBufferSetNumElements()
1036 unsigned int *num_elements /* out */ in vaBufferInfo() argument
1044 VA_FOOL_FUNC(va_FoolBufferInfo, dpy, buf_id, type, size, num_elements); in vaBufferInfo()
1046 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_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_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_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()
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp295 int num_elements = gps_tag_count + exif_tag_count; in ~ExifElementsTable() local
297 for (int i = 0; i < num_elements; i++) { in ~ExifElementsTable()
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp356 int num_elements = gps_tag_count + exif_tag_count; in ~ExifElementsTable() local
358 for (int i = 0; i < num_elements; i++) { in ~ExifElementsTable()

12