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.c856 int psb__dump_va_buffers(object_buffer_p obj_buffer) in psb__dump_va_buffers() argument
863 fprintf(psb_dump_vabuf_fp, "%s", buffer_type_to_string(obj_buffer->type)); in psb__dump_va_buffers()
864 …b_dump_vabuf_fp, "BUFF SIZE :%d NUMELEMENTS:%d BUFF INFO:\n", obj_buffer->size, obj_buffer->num_el… in psb__dump_va_buffers()
866 switch(obj_buffer->type) { in psb__dump_va_buffers()
871 for(k=0;k < obj_buffer->size;++k) in psb__dump_va_buffers()
872 …= fprintf(psb_dump_vabuf_fp,"0x%02x ,",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num… in psb__dump_va_buffers()
878 psb_buffer_map(obj_buffer->psb_buffer, (unsigned char **)&mapped_buffer); in psb__dump_va_buffers()
882 for(j=0; j<obj_buffer->size;++j) { in psb__dump_va_buffers()
884 for(k=0;k < obj_buffer->num_elements;++k) in psb__dump_va_buffers()
885 …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 …]
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 …]
Dpsb_drv_video.c1519 static VAStatus psb__allocate_malloc_buffer(object_buffer_p obj_buffer, int size) in psb__allocate_malloc_buffer() argument
1523 obj_buffer->buffer_data = realloc(obj_buffer->buffer_data, size); in psb__allocate_malloc_buffer()
1524 CHECK_ALLOCATION(obj_buffer->buffer_data); in psb__allocate_malloc_buffer()
1529 static VAStatus psb__unmap_buffer(object_buffer_p obj_buffer);
1531 …ver_data, object_context_p __maybe_unused obj_context, object_buffer_p obj_buffer, int size, unsig… in psb__allocate_BO_buffer() argument
1535 ASSERT(NULL == obj_buffer->buffer_data); in psb__allocate_BO_buffer()
1537 if (obj_buffer->psb_buffer && (psb_bs_queued == obj_buffer->psb_buffer->status)) { in psb__allocate_BO_buffer()
1538 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "Abandoning BO for buffer %08x type %s\n", obj_buffer->base.id, in psb__allocate_BO_buffer()
1539 buffer_type_to_string(obj_buffer->type)); in psb__allocate_BO_buffer()
1541 obj_buffer->psb_buffer->status = psb_bs_abandoned; in psb__allocate_BO_buffer()
[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.c194 VAStatus vld_dec_process_slice_data(context_DEC_p ctx, object_buffer_p obj_buffer) in vld_dec_process_slice_data() argument
201 …ASSERT((obj_buffer->type == VASliceDataBufferType) || (obj_buffer->type == VAProtectedSliceDataBuf… in vld_dec_process_slice_data()
212 if ((NULL == obj_buffer->psb_buffer) || in vld_dec_process_slice_data()
213 (0 == obj_buffer->size)) { in vld_dec_process_slice_data()
232 vaStatus = vld_dec_process_slice(ctx, slice_param, obj_buffer); in vld_dec_process_slice_data()
245 VAStatus vld_dec_add_slice_param(context_DEC_p ctx, object_buffer_p obj_buffer) in vld_dec_add_slice_param() argument
247 ASSERT(obj_buffer->type == VASliceParameterBufferType); in vld_dec_add_slice_param()
258 ctx->slice_param_list[ctx->slice_param_list_idx] = obj_buffer; in vld_dec_add_slice_param()
271 object_buffer_p obj_buffer) in vld_dec_process_slice() argument
276 …ASSERT((obj_buffer->type == VASliceDataBufferType) || (obj_buffer->type == VAProtectedSliceDataBuf… in vld_dec_process_slice()
[all …]
Dpsb_buffer.c498 object_buffer_p obj_buffer, in tng_get_coded_data() argument
502 object_context_p obj_context = obj_buffer->context; in tng_get_coded_data()
503 VACodedBufferSegment *vaCodedBufSeg = &obj_buffer->codedbuf_mapinfo[0]; in tng_get_coded_data()
506 unsigned int uiBufOffset = tng_align_KB(obj_buffer->size >> 1); in tng_get_coded_data()
578 object_buffer_p obj_buffer, in psb_codedbuf_map_mangle() argument
582 object_context_p obj_context = obj_buffer->context; in psb_codedbuf_map_mangle()
584 VACodedBufferSegment *p = &obj_buffer->codedbuf_mapinfo[0]; in psb_codedbuf_map_mangle()
596 psb_buffer_unmap(obj_buffer->psb_buffer); in psb_codedbuf_map_mangle()
597 obj_buffer->buffer_data = NULL; in psb_codedbuf_map_mangle()
604 memset(obj_buffer->codedbuf_mapinfo, 0, sizeof(obj_buffer->codedbuf_mapinfo)); in psb_codedbuf_map_mangle()
[all …]
Dtng_yuv_processor.c192 static VAStatus tng__yuv_processor_execute(context_DEC_p dec_ctx, object_buffer_p obj_buffer) in tng__yuv_processor_execute() argument
199 ASSERT(obj_buffer->type == YUVProcessorSurfaceType || in tng__yuv_processor_execute()
200 obj_buffer->type == VAProcPipelineParameterBufferType); in tng__yuv_processor_execute()
201 ASSERT(obj_buffer->num_elements == 1); in tng__yuv_processor_execute()
202 ASSERT(obj_buffer->size == sizeof(struct surface_param_s)); in tng__yuv_processor_execute()
204 if ((obj_buffer->num_elements != 1) || in tng__yuv_processor_execute()
205 ((obj_buffer->size != sizeof(struct surface_param_s)) && in tng__yuv_processor_execute()
206 (obj_buffer->size != sizeof(VAProcPipelineParameterBuffer)))) { in tng__yuv_processor_execute()
211 if (obj_buffer->type == YUVProcessorSurfaceType) { in tng__yuv_processor_execute()
212 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 …]
Dpnw_H264.c549 static VAStatus psb__H264_process_picture_param(context_H264_p ctx, object_buffer_p obj_buffer) in psb__H264_process_picture_param() argument
556 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in psb__H264_process_picture_param()
557 ASSERT(obj_buffer->num_elements == 1); in psb__H264_process_picture_param()
558 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferH264)); in psb__H264_process_picture_param()
561 if ((obj_buffer->num_elements != 1) || in psb__H264_process_picture_param()
562 (obj_buffer->size != sizeof(VAPictureParameterBufferH264)) || in psb__H264_process_picture_param()
568 …VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *) obj_buffer->buffer_dat… in psb__H264_process_picture_param()
573 obj_buffer->buffer_data = NULL; in psb__H264_process_picture_param()
574 obj_buffer->size = 0; in psb__H264_process_picture_param()
798 static VAStatus psb__H264_process_iq_matrix(context_H264_p ctx, object_buffer_p obj_buffer) in psb__H264_process_iq_matrix() argument
[all …]
Dpsb_output.c469 object_buffer_p obj_buffer; in psb_DeriveImage() local
517 obj_buffer = BUFFER(bufferID); in psb_DeriveImage()
518 if (NULL == obj_buffer) { in psb_DeriveImage()
524 MEMSET_OBJECT(obj_buffer, struct object_buffer_s); in psb_DeriveImage()
526 obj_buffer->type = VAImageBufferType; in psb_DeriveImage()
527 obj_buffer->buffer_data = NULL; in psb_DeriveImage()
528 obj_buffer->psb_buffer = &obj_surface->psb_surface->buf; in psb_DeriveImage()
529 obj_buffer->size = obj_surface->psb_surface->size; in psb_DeriveImage()
530 obj_buffer->max_num_elements = 0; in psb_DeriveImage()
531 obj_buffer->alloc_size = obj_buffer->size; in psb_DeriveImage()
[all …]
Dvsp_vp8.c295 object_buffer_p obj_buffer) in vsp_vp8_process_seqence_param() argument
304 (VAEncSequenceParameterBufferVP8 *) obj_buffer->buffer_data; in vsp_vp8_process_seqence_param()
396 object_buffer_p obj_buffer, in vsp_vp8_process_picture_param() argument
404 (VAEncPictureParameterBufferVP8 *) obj_buffer->buffer_data; in vsp_vp8_process_picture_param()
493 static VAStatus vsp_vp8_process_misc_param(context_VPP_p ctx, object_buffer_p obj_buffer) in vsp_vp8_process_misc_param() argument
506 ASSERT(obj_buffer->type == VAEncMiscParameterBufferType); in vsp_vp8_process_misc_param()
507 pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data; in vsp_vp8_process_misc_param()
508 obj_buffer->size = 0; in vsp_vp8_process_misc_param()
697 free(obj_buffer->buffer_data); in vsp_vp8_process_misc_param()
698 obj_buffer->buffer_data = NULL; in vsp_vp8_process_misc_param()
[all …]
Dpnw_MPEG2.c712 static VAStatus psb__MPEG2_process_picture_param(context_MPEG2_p ctx, object_buffer_p obj_buffer) in psb__MPEG2_process_picture_param() argument
715 ASSERT(obj_buffer->type == VAPictureParameterBufferType); in psb__MPEG2_process_picture_param()
716 ASSERT(obj_buffer->num_elements == 1); in psb__MPEG2_process_picture_param()
717 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferMPEG2)); in psb__MPEG2_process_picture_param()
719 if ((obj_buffer->num_elements != 1) || in psb__MPEG2_process_picture_param()
720 (obj_buffer->size != sizeof(VAPictureParameterBufferMPEG2))) { in psb__MPEG2_process_picture_param()
728 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; in psb__MPEG2_process_picture_param()
729 obj_buffer->buffer_data = NULL; in psb__MPEG2_process_picture_param()
730 obj_buffer->size = 0; in psb__MPEG2_process_picture_param()
864 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 …e_param(context_VPP_p ctx, object_context_p __maybe_unused 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