Home
last modified time | relevance | path

Searched refs:obj_buffer (Results 1 – 25 of 37) sorted by relevance

12

/hardware/intel/img/psb_video/src/
Dpsb_drv_debug.c839 int psb__dump_va_buffers(object_buffer_p obj_buffer) in psb__dump_va_buffers() argument
846 fprintf(psb_dump_vabuf_fp, "%s", buffer_type_to_string(obj_buffer->type)); in psb__dump_va_buffers()
847 …b_dump_vabuf_fp, "BUFF SIZE :%d NUMELEMENTS:%d BUFF INFO:\n", obj_buffer->size, obj_buffer->num_el… in psb__dump_va_buffers()
849 switch(obj_buffer->type) { in psb__dump_va_buffers()
854 for(k=0;k < obj_buffer->size;++k) in psb__dump_va_buffers()
855 …= fprintf(psb_dump_vabuf_fp,"0x%02x ,",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num… in psb__dump_va_buffers()
861 psb_buffer_map(obj_buffer->psb_buffer, (unsigned char **)&mapped_buffer); in psb__dump_va_buffers()
865 for(j=0; j<obj_buffer->size;++j) { in psb__dump_va_buffers()
867 for(k=0;k < obj_buffer->num_elements;++k) in psb__dump_va_buffers()
868 …printf(psb_dump_vabuf_fp,"0x%02x ",*((unsigned char *)(mapped_buffer+obj_buffer->num_elements*j+… in psb__dump_va_buffers()
[all …]
Dtng_H264ES.c191 …ic VAStatus tng__H264ES_process_misc_framerate_param(context_ENC_p ctx, object_buffer_p obj_buffer) in tng__H264ES_process_misc_framerate_param() argument
193 VAEncMiscParameterBuffer *pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data; in tng__H264ES_process_misc_framerate_param()
197 ASSERT(obj_buffer->type == VAEncMiscParameterTypeFrameRate); in tng__H264ES_process_misc_framerate_param()
198 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterFrameRate)); in tng__H264ES_process_misc_framerate_param()
225 … VAStatus tng__H264ES_process_misc_ratecontrol_param(context_ENC_p ctx, object_buffer_p obj_buffer) in tng__H264ES_process_misc_ratecontrol_param() argument
230 VAEncMiscParameterBuffer *pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data; in tng__H264ES_process_misc_ratecontrol_param()
233 ASSERT(obj_buffer->type == VAEncMiscParameterTypeRateControl); in tng__H264ES_process_misc_ratecontrol_param()
234 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterRateControl)); in tng__H264ES_process_misc_ratecontrol_param()
357 static VAStatus tng__H264ES_process_misc_hrd_param(context_ENC_p ctx, object_buffer_p obj_buffer) in tng__H264ES_process_misc_hrd_param() argument
360 VAEncMiscParameterBuffer *pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data; in tng__H264ES_process_misc_hrd_param()
[all …]
Dpnw_H263ES.c177 static VAStatus pnw__H263ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) in pnw__H263ES_process_sequence_param() argument
186 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in pnw__H263ES_process_sequence_param()
187 ASSERT(obj_buffer->num_elements == 1); in pnw__H263ES_process_sequence_param()
188 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH263)); in pnw__H263ES_process_sequence_param()
194 if ((obj_buffer->num_elements != 1) || in pnw__H263ES_process_sequence_param()
195 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH263))) { in pnw__H263ES_process_sequence_param()
199 pSequenceParams = (VAEncSequenceParameterBufferH263 *) obj_buffer->buffer_data; in pnw__H263ES_process_sequence_param()
200 obj_buffer->buffer_data = NULL; in pnw__H263ES_process_sequence_param()
201 obj_buffer->size = 0; in pnw__H263ES_process_sequence_param()
272 static VAStatus pnw__H263ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) in pnw__H263ES_process_picture_param() argument
[all …]
Dpnw_MPEG4ES.c186 static VAStatus pnw__MPEG4ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) in pnw__MPEG4ES_process_sequence_param() argument
195 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in pnw__MPEG4ES_process_sequence_param()
196 ASSERT(obj_buffer->num_elements == 1); in pnw__MPEG4ES_process_sequence_param()
197 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); in pnw__MPEG4ES_process_sequence_param()
204 if ((obj_buffer->num_elements != 1) || in pnw__MPEG4ES_process_sequence_param()
205 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferMPEG4))) { in pnw__MPEG4ES_process_sequence_param()
209 seq_params = (VAEncSequenceParameterBufferMPEG4 *) obj_buffer->buffer_data; in pnw__MPEG4ES_process_sequence_param()
210 obj_buffer->buffer_data = NULL; in pnw__MPEG4ES_process_sequence_param()
211 obj_buffer->size = 0; in pnw__MPEG4ES_process_sequence_param()
314 static VAStatus pnw__MPEG4ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) in pnw__MPEG4ES_process_picture_param() argument
[all …]
Dtng_MPEG4ES.c220 static VAStatus tng__MPEG4ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) in tng__MPEG4ES_process_sequence_param() argument
227 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in tng__MPEG4ES_process_sequence_param()
228 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); in tng__MPEG4ES_process_sequence_param()
230 if (obj_buffer->size != sizeof(VAEncSequenceParameterBufferMPEG4)) { in tng__MPEG4ES_process_sequence_param()
235 psSeqParams = (VAEncSequenceParameterBufferMPEG4 *) obj_buffer->buffer_data; in tng__MPEG4ES_process_sequence_param()
236 obj_buffer->buffer_data = NULL; in tng__MPEG4ES_process_sequence_param()
237 obj_buffer->size = 0; in tng__MPEG4ES_process_sequence_param()
308 static VAStatus tng__MPEG4ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) in tng__MPEG4ES_process_picture_param() argument
318 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); in tng__MPEG4ES_process_picture_param()
319 if (obj_buffer->size != sizeof(VAEncPictureParameterBufferMPEG4)) { in tng__MPEG4ES_process_picture_param()
[all …]
Dpsb_drv_video.c1405 static VAStatus psb__allocate_malloc_buffer(object_buffer_p obj_buffer, int size) in psb__allocate_malloc_buffer() argument
1409 obj_buffer->buffer_data = realloc(obj_buffer->buffer_data, size); in psb__allocate_malloc_buffer()
1410 CHECK_ALLOCATION(obj_buffer->buffer_data); in psb__allocate_malloc_buffer()
1415 static VAStatus psb__unmap_buffer(object_buffer_p obj_buffer);
1417 …ver_data, object_context_p __maybe_unused obj_context, object_buffer_p obj_buffer, int size, unsig… in psb__allocate_BO_buffer() argument
1421 ASSERT(NULL == obj_buffer->buffer_data); in psb__allocate_BO_buffer()
1423 if (obj_buffer->psb_buffer && (psb_bs_queued == obj_buffer->psb_buffer->status)) { in psb__allocate_BO_buffer()
1424 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "Abandoning BO for buffer %08x type %s\n", obj_buffer->base.id, in psb__allocate_BO_buffer()
1425 buffer_type_to_string(obj_buffer->type)); in psb__allocate_BO_buffer()
1427 obj_buffer->psb_buffer->status = psb_bs_abandoned; in psb__allocate_BO_buffer()
[all …]
Dtng_H263ES.c209 static VAStatus tng__H263ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) in tng__H263ES_process_sequence_param() argument
218 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in tng__H263ES_process_sequence_param()
219 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH263)); in tng__H263ES_process_sequence_param()
221 if (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH263)) { in tng__H263ES_process_sequence_param()
225 psSeqParams = (VAEncSequenceParameterBufferH263 *) obj_buffer->buffer_data; in tng__H263ES_process_sequence_param()
226 obj_buffer->buffer_data = NULL; in tng__H263ES_process_sequence_param()
227 obj_buffer->size = 0; in tng__H263ES_process_sequence_param()
292 static VAStatus tng__H263ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) in tng__H263ES_process_picture_param() argument
302 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); in tng__H263ES_process_picture_param()
303 if (obj_buffer->size != sizeof(VAEncPictureParameterBufferH263)) { in tng__H263ES_process_picture_param()
[all …]
Dpnw_H264ES.c207 static VAStatus pnw__H264ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) in pnw__H264ES_process_sequence_param() argument
217 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in pnw__H264ES_process_sequence_param()
218 ASSERT(obj_buffer->num_elements == 1); in pnw__H264ES_process_sequence_param()
219 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH264)); in pnw__H264ES_process_sequence_param()
221 if ((obj_buffer->num_elements != 1) || in pnw__H264ES_process_sequence_param()
222 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH264))) { in pnw__H264ES_process_sequence_param()
230 pSequenceParams = (VAEncSequenceParameterBufferH264 *) obj_buffer->buffer_data; in pnw__H264ES_process_sequence_param()
231 obj_buffer->buffer_data = NULL; in pnw__H264ES_process_sequence_param()
232 obj_buffer->size = 0; in pnw__H264ES_process_sequence_param()
553 static VAStatus pnw__H264ES_insert_SEI_FPA_param(context_ENC_p ctx, object_buffer_p obj_buffer) in pnw__H264ES_insert_SEI_FPA_param() argument
[all …]
Dtng_vld_dec.c192 VAStatus vld_dec_process_slice_data(context_DEC_p ctx, object_buffer_p obj_buffer) in vld_dec_process_slice_data() argument
199 …ASSERT((obj_buffer->type == VASliceDataBufferType) || (obj_buffer->type == VAProtectedSliceDataBuf… in vld_dec_process_slice_data()
210 if ((NULL == obj_buffer->psb_buffer) || in vld_dec_process_slice_data()
211 (0 == obj_buffer->size)) { in vld_dec_process_slice_data()
230 vaStatus = vld_dec_process_slice(ctx, slice_param, obj_buffer); in vld_dec_process_slice_data()
243 VAStatus vld_dec_add_slice_param(context_DEC_p ctx, object_buffer_p obj_buffer) in vld_dec_add_slice_param() argument
245 ASSERT(obj_buffer->type == VASliceParameterBufferType); in vld_dec_add_slice_param()
256 ctx->slice_param_list[ctx->slice_param_list_idx] = obj_buffer; in vld_dec_add_slice_param()
269 object_buffer_p obj_buffer) in vld_dec_process_slice() argument
274 …ASSERT((obj_buffer->type == VASliceDataBufferType) || (obj_buffer->type == VAProtectedSliceDataBuf… in vld_dec_process_slice()
[all …]
Dpsb_buffer.c494 object_buffer_p obj_buffer, in tng_get_coded_data() argument
498 object_context_p obj_context = obj_buffer->context; in tng_get_coded_data()
499 VACodedBufferSegment *vaCodedBufSeg = &obj_buffer->codedbuf_mapinfo[0]; in tng_get_coded_data()
502 unsigned int uiBufOffset = tng_align_KB(obj_buffer->size >> 1); in tng_get_coded_data()
574 object_buffer_p obj_buffer, in psb_codedbuf_map_mangle() argument
578 object_context_p obj_context = obj_buffer->context; in psb_codedbuf_map_mangle()
580 VACodedBufferSegment *p = &obj_buffer->codedbuf_mapinfo[0]; in psb_codedbuf_map_mangle()
592 psb_buffer_unmap(obj_buffer->psb_buffer); in psb_codedbuf_map_mangle()
593 obj_buffer->buffer_data = NULL; in psb_codedbuf_map_mangle()
600 memset(obj_buffer->codedbuf_mapinfo, 0, sizeof(obj_buffer->codedbuf_mapinfo)); in psb_codedbuf_map_mangle()
[all …]
Dtng_yuv_processor.c185 static VAStatus tng__yuv_processor_execute(context_DEC_p dec_ctx, object_buffer_p obj_buffer) in tng__yuv_processor_execute() argument
192 ASSERT(obj_buffer->type == YUVProcessorSurfaceType || in tng__yuv_processor_execute()
193 obj_buffer->type == VAProcPipelineParameterBufferType); in tng__yuv_processor_execute()
194 ASSERT(obj_buffer->num_elements == 1); in tng__yuv_processor_execute()
195 ASSERT(obj_buffer->size == sizeof(struct surface_param_s)); in tng__yuv_processor_execute()
197 if ((obj_buffer->num_elements != 1) || in tng__yuv_processor_execute()
198 ((obj_buffer->size != sizeof(struct surface_param_s)) && in tng__yuv_processor_execute()
199 (obj_buffer->size != sizeof(VAProcPipelineParameterBuffer)))) { in tng__yuv_processor_execute()
204 if (obj_buffer->type == YUVProcessorSurfaceType) { in tng__yuv_processor_execute()
205 surface_param_p surface_params = (surface_param_p) obj_buffer->buffer_data; in tng__yuv_processor_execute()
[all …]
Dpnw_jpeg.c312 static VAStatus pnw__jpeg_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) in pnw__jpeg_process_picture_param() argument
326 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); in pnw__jpeg_process_picture_param()
328 if ((obj_buffer->num_elements != 1) || in pnw__jpeg_process_picture_param()
329 (obj_buffer->size != sizeof(VAEncPictureParameterBufferJPEG))) { in pnw__jpeg_process_picture_param()
334 pBuffer = (VAEncPictureParameterBufferJPEG *) obj_buffer->buffer_data; in pnw__jpeg_process_picture_param()
335 obj_buffer->buffer_data = NULL; in pnw__jpeg_process_picture_param()
336 obj_buffer->size = 0; in pnw__jpeg_process_picture_param()
458 static VAStatus pnw__jpeg_process_qmatrix_param(context_ENC_p ctx, object_buffer_p obj_buffer) in pnw__jpeg_process_qmatrix_param() argument
466 ASSERT(obj_buffer->type == VAQMatrixBufferType); in pnw__jpeg_process_qmatrix_param()
468 pBuffer = (VAQMatrixBufferJPEG *) obj_buffer->buffer_data; in pnw__jpeg_process_qmatrix_param()
[all …]
Dtng_VP8.c607 static VAStatus tng__VP8_process_picture_param(context_VP8_p ctx, object_buffer_p obj_buffer) { in tng__VP8_process_picture_param() argument
613 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in tng__VP8_process_picture_param()
614 ASSERT(obj_buffer->num_elements == 1); in tng__VP8_process_picture_param()
615 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferVP8)); in tng__VP8_process_picture_param()
618 if ((obj_buffer->num_elements != 1) || in tng__VP8_process_picture_param()
619 (obj_buffer->size != sizeof(VAPictureParameterBufferVP8)) || in tng__VP8_process_picture_param()
625 … VAPictureParameterBufferVP8 *pic_params = (VAPictureParameterBufferVP8 *) obj_buffer->buffer_data; in tng__VP8_process_picture_param()
631 obj_buffer->buffer_data = NULL; in tng__VP8_process_picture_param()
632 obj_buffer->size = 0; in tng__VP8_process_picture_param()
702 static VAStatus tng__VP8_process_probility_param(context_VP8_p ctx, object_buffer_p obj_buffer) { in tng__VP8_process_probility_param() argument
[all …]
Dtng_jpegdec.c565 static VAStatus tng__JPEG_process_picture_param(context_JPEG_p ctx, object_buffer_p obj_buffer) { in tng__JPEG_process_picture_param() argument
567 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in tng__JPEG_process_picture_param()
568 ASSERT(obj_buffer->num_elements == 1); in tng__JPEG_process_picture_param()
569 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferJPEGBaseline)); in tng__JPEG_process_picture_param()
571 if ((obj_buffer->num_elements != 1) || in tng__JPEG_process_picture_param()
572 (obj_buffer->size != sizeof(VAPictureParameterBufferJPEGBaseline))) { in tng__JPEG_process_picture_param()
580 ctx->pic_params = (VAPictureParameterBufferJPEGBaseline *) obj_buffer->buffer_data; in tng__JPEG_process_picture_param()
605 obj_buffer->buffer_data = NULL; in tng__JPEG_process_picture_param()
606 obj_buffer->size = 0; in tng__JPEG_process_picture_param()
634 static VAStatus tng__JPEG_process_iq_matrix(context_JPEG_p ctx, object_buffer_p obj_buffer) { in tng__JPEG_process_iq_matrix() argument
[all …]
Dpsb_output.c468 object_buffer_p obj_buffer; in psb_DeriveImage() local
516 obj_buffer = BUFFER(bufferID); in psb_DeriveImage()
517 if (NULL == obj_buffer) { in psb_DeriveImage()
523 MEMSET_OBJECT(obj_buffer, struct object_buffer_s); in psb_DeriveImage()
525 obj_buffer->type = VAImageBufferType; in psb_DeriveImage()
526 obj_buffer->buffer_data = NULL; in psb_DeriveImage()
527 obj_buffer->psb_buffer = &obj_surface->psb_surface->buf; in psb_DeriveImage()
528 obj_buffer->size = obj_surface->psb_surface->size; in psb_DeriveImage()
529 obj_buffer->max_num_elements = 0; in psb_DeriveImage()
530 obj_buffer->alloc_size = obj_buffer->size; in psb_DeriveImage()
[all …]
Dpnw_H264.c580 static VAStatus psb__H264_process_picture_param(context_H264_p ctx, object_buffer_p obj_buffer) in psb__H264_process_picture_param() argument
587 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in psb__H264_process_picture_param()
588 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_picture_param()
589 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferH264)); in psb__H264_process_picture_param()
592 if ((obj_buffer->num_elements != 1) || in psb__H264_process_picture_param()
593 (obj_buffer->size != sizeof(VAPictureParameterBufferH264)) || in psb__H264_process_picture_param()
599 …VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *) obj_buffer->buffer_dat… in psb__H264_process_picture_param()
604 obj_buffer->buffer_data = NULL; in psb__H264_process_picture_param()
605 obj_buffer->size = 0; in psb__H264_process_picture_param()
771 static VAStatus psb__H264_process_iq_matrix(context_H264_p ctx, object_buffer_p obj_buffer) in psb__H264_process_iq_matrix() argument
[all …]
Dvsp_vp8.c291 object_buffer_p obj_buffer) in vsp_vp8_process_seqence_param() argument
300 (VAEncSequenceParameterBufferVP8 *) obj_buffer->buffer_data; in vsp_vp8_process_seqence_param()
392 object_buffer_p obj_buffer, in vsp_vp8_process_picture_param() argument
400 (VAEncPictureParameterBufferVP8 *) obj_buffer->buffer_data; in vsp_vp8_process_picture_param()
489 static VAStatus vsp_vp8_process_misc_param(context_VPP_p ctx, object_buffer_p obj_buffer) in vsp_vp8_process_misc_param() argument
502 ASSERT(obj_buffer->type == VAEncMiscParameterBufferType); in vsp_vp8_process_misc_param()
503 pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data; in vsp_vp8_process_misc_param()
504 obj_buffer->size = 0; in vsp_vp8_process_misc_param()
678 free(obj_buffer->buffer_data); in vsp_vp8_process_misc_param()
679 obj_buffer->buffer_data = NULL; in vsp_vp8_process_misc_param()
[all …]
Dpnw_MPEG2.c669 static VAStatus psb__MPEG2_process_picture_param(context_MPEG2_p ctx, object_buffer_p obj_buffer) in psb__MPEG2_process_picture_param() argument
672 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in psb__MPEG2_process_picture_param()
673 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG2_process_picture_param()
674 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferMPEG2)); in psb__MPEG2_process_picture_param()
676 if ((obj_buffer->num_elements != 1) || in psb__MPEG2_process_picture_param()
677 (obj_buffer->size != sizeof(VAPictureParameterBufferMPEG2))) { in psb__MPEG2_process_picture_param()
685 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; in psb__MPEG2_process_picture_param()
686 obj_buffer->buffer_data = NULL; in psb__MPEG2_process_picture_param()
687 obj_buffer->size = 0; in psb__MPEG2_process_picture_param()
820 static VAStatus psb__MPEG2_process_iq_matrix(context_MPEG2_p ctx, object_buffer_p obj_buffer) in psb__MPEG2_process_iq_matrix() argument
[all …]
Dvsp_compose.c48 …process_pipeline_param(context_VPP_p ctx, object_context_p obj_context, object_buffer_p obj_buffer) in vsp_compose_process_pipeline_param() argument
53 …VAProcPipelineParameterBuffer *pipeline_param = (VAProcPipelineParameterBuffer *)obj_buffer->buffe… in vsp_compose_process_pipeline_param()
218 obj_buffer->buffer_data = NULL; in vsp_compose_process_pipeline_param()
219 obj_buffer->size = 0; in vsp_compose_process_pipeline_param()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_H263ES.c185 static VAStatus lnc__H263ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) in lnc__H263ES_process_sequence_param() argument
192 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in lnc__H263ES_process_sequence_param()
193 ASSERT(obj_buffer->num_elements == 1); in lnc__H263ES_process_sequence_param()
194 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH263)); in lnc__H263ES_process_sequence_param()
196 if ((obj_buffer->num_elements != 1) || in lnc__H263ES_process_sequence_param()
197 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH263))) { in lnc__H263ES_process_sequence_param()
201 pSequenceParams = (VAEncSequenceParameterBufferH263 *) obj_buffer->buffer_data; in lnc__H263ES_process_sequence_param()
202 obj_buffer->buffer_data = NULL; in lnc__H263ES_process_sequence_param()
203 obj_buffer->size = 0; in lnc__H263ES_process_sequence_param()
248 static VAStatus lnc__H263ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) in lnc__H263ES_process_picture_param() argument
[all …]
Dlnc_MPEG4ES.c194 static VAStatus lnc__MPEG4ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) in lnc__MPEG4ES_process_sequence_param() argument
201 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in lnc__MPEG4ES_process_sequence_param()
202 ASSERT(obj_buffer->num_elements == 1); in lnc__MPEG4ES_process_sequence_param()
203 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); in lnc__MPEG4ES_process_sequence_param()
205 if ((obj_buffer->num_elements != 1) || in lnc__MPEG4ES_process_sequence_param()
206 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferMPEG4))) { in lnc__MPEG4ES_process_sequence_param()
210 seq_params = (VAEncSequenceParameterBufferMPEG4 *) obj_buffer->buffer_data; in lnc__MPEG4ES_process_sequence_param()
211 obj_buffer->buffer_data = NULL; in lnc__MPEG4ES_process_sequence_param()
212 obj_buffer->size = 0; in lnc__MPEG4ES_process_sequence_param()
279 static VAStatus lnc__MPEG4ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) in lnc__MPEG4ES_process_picture_param() argument
[all …]
Dlnc_H264ES.c208 static VAStatus lnc__H264ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) in lnc__H264ES_process_sequence_param() argument
216 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); in lnc__H264ES_process_sequence_param()
217 ASSERT(obj_buffer->num_elements == 1); in lnc__H264ES_process_sequence_param()
218 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH264)); in lnc__H264ES_process_sequence_param()
220 if ((obj_buffer->num_elements != 1) || in lnc__H264ES_process_sequence_param()
221 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH264))) { in lnc__H264ES_process_sequence_param()
227 pSequenceParams = (VAEncSequenceParameterBufferH264 *) obj_buffer->buffer_data; in lnc__H264ES_process_sequence_param()
228 obj_buffer->buffer_data = NULL; in lnc__H264ES_process_sequence_param()
229 obj_buffer->size = 0; in lnc__H264ES_process_sequence_param()
314 static VAStatus lnc__H264ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) in lnc__H264ES_process_picture_param() argument
[all …]
Dpsb_H264.c608 static VAStatus psb__H264_process_picture_param(context_H264_p ctx, object_buffer_p obj_buffer) in psb__H264_process_picture_param() argument
615 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in psb__H264_process_picture_param()
616 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_picture_param()
617 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferH264)); in psb__H264_process_picture_param()
620 if ((obj_buffer->num_elements != 1) || in psb__H264_process_picture_param()
621 (obj_buffer->size != sizeof(VAPictureParameterBufferH264)) || in psb__H264_process_picture_param()
623 (NULL == obj_buffer->buffer_data)) { in psb__H264_process_picture_param()
629 …VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *) obj_buffer->buffer_dat… in psb__H264_process_picture_param()
634 obj_buffer->buffer_data = NULL; in psb__H264_process_picture_param()
635 obj_buffer->size = 0; in psb__H264_process_picture_param()
[all …]
Dpsb_MPEG2.c696 static VAStatus psb__MPEG2_process_picture_param(context_MPEG2_p ctx, object_buffer_p obj_buffer) in psb__MPEG2_process_picture_param() argument
698 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in psb__MPEG2_process_picture_param()
699 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG2_process_picture_param()
700 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferMPEG2)); in psb__MPEG2_process_picture_param()
702 if ((obj_buffer->num_elements != 1) || in psb__MPEG2_process_picture_param()
703 (obj_buffer->size != sizeof(VAPictureParameterBufferMPEG2))) { in psb__MPEG2_process_picture_param()
711 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; in psb__MPEG2_process_picture_param()
712 obj_buffer->buffer_data = NULL; in psb__MPEG2_process_picture_param()
713 obj_buffer->size = 0; in psb__MPEG2_process_picture_param()
841 static VAStatus psb__MPEG2_process_iq_matrix(context_MPEG2_p ctx, object_buffer_p obj_buffer) in psb__MPEG2_process_iq_matrix() argument
[all …]
Dpsb_MPEG4.c583 static VAStatus psb__MPEG4_process_picture_param(context_MPEG4_p ctx, object_buffer_p obj_buffer) in psb__MPEG4_process_picture_param() argument
586 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in psb__MPEG4_process_picture_param()
587 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG4_process_picture_param()
588 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferMPEG4)); in psb__MPEG4_process_picture_param()
590 if ((obj_buffer->num_elements != 1) || in psb__MPEG4_process_picture_param()
591 (obj_buffer->size != sizeof(VAPictureParameterBufferMPEG4))) { in psb__MPEG4_process_picture_param()
599 ctx->pic_params = (VAPictureParameterBufferMPEG4 *) obj_buffer->buffer_data; in psb__MPEG4_process_picture_param()
600 obj_buffer->buffer_data = NULL; in psb__MPEG4_process_picture_param()
601 obj_buffer->size = 0; in psb__MPEG4_process_picture_param()
801 static VAStatus psb__MPEG4_process_iq_matrix(context_MPEG4_p ctx, object_buffer_p obj_buffer) in psb__MPEG4_process_iq_matrix() argument
[all …]

12