/hardware/intel/img/psb_video/src/ |
vsp_compose.h | 36 VAStatus vsp_compose_process_pipeline_param(context_VPP_p ctx, object_context_p obj_context, object_buffer_p obj_buffer);
|
psb_drv_debug.c | 839 int psb__dump_va_buffers(object_buffer_p obj_buffer) 846 fprintf(psb_dump_vabuf_fp, "%s", buffer_type_to_string(obj_buffer->type)); 847 print_num = fprintf(psb_dump_vabuf_fp, "BUFF SIZE :%d NUMELEMENTS:%d BUFF INFO:\n", obj_buffer->size, obj_buffer->num_elements); 849 switch(obj_buffer->type) { 854 for(k=0;k < obj_buffer->size;++k) 855 print_num = fprintf(psb_dump_vabuf_fp,"0x%02x ,",*((unsigned char *)(obj_buffer->buffer_data+obj_buffer->num_elements*j+k))); 861 psb_buffer_map(obj_buffer->psb_buffer, (unsigned char **)&mapped_buffer); 865 for(j=0; j<obj_buffer->size;++j) [all...] |
pnw_H263ES.c | 177 static VAStatus pnw__H263ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) 186 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); 187 ASSERT(obj_buffer->num_elements == 1); 188 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH263)); 194 if ((obj_buffer->num_elements != 1) || 195 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH263))) { 199 pSequenceParams = (VAEncSequenceParameterBufferH263 *) obj_buffer->buffer_data; 200 obj_buffer->buffer_data = NULL; 201 obj_buffer->size = 0; 272 static VAStatus pnw__H263ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) 474 object_buffer_p obj_buffer = buffers[i]; local [all...] |
pnw_MPEG4ES.c | 186 static VAStatus pnw__MPEG4ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) 195 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); 196 ASSERT(obj_buffer->num_elements == 1); 197 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); 204 if ((obj_buffer->num_elements != 1) || 205 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferMPEG4))) { 209 seq_params = (VAEncSequenceParameterBufferMPEG4 *) obj_buffer->buffer_data; 210 obj_buffer->buffer_data = NULL; 211 obj_buffer->size = 0; 314 static VAStatus pnw__MPEG4ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) 483 object_buffer_p obj_buffer = buffers[i]; local [all...] |
tng_H264ES.c | 191 static VAStatus tng__H264ES_process_misc_framerate_param(context_ENC_p ctx, object_buffer_p obj_buffer) 193 VAEncMiscParameterBuffer *pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data; 197 ASSERT(obj_buffer->type == VAEncMiscParameterTypeFrameRate); 198 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterFrameRate)); 225 static VAStatus tng__H264ES_process_misc_ratecontrol_param(context_ENC_p ctx, object_buffer_p obj_buffer) 230 VAEncMiscParameterBuffer *pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data; 233 ASSERT(obj_buffer->type == VAEncMiscParameterTypeRateControl); 234 ASSERT(obj_buffer->size == sizeof(VAEncMiscParameterRateControl)); 357 static VAStatus tng__H264ES_process_misc_hrd_param(context_ENC_p ctx, object_buffer_p obj_buffer) 360 VAEncMiscParameterBuffer *pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data 1290 object_buffer_p obj_buffer = buffers[i]; local [all...] |
tng_MPEG4ES.c | 220 static VAStatus tng__MPEG4ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) 227 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); 228 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); 230 if (obj_buffer->size != sizeof(VAEncSequenceParameterBufferMPEG4)) { 235 psSeqParams = (VAEncSequenceParameterBufferMPEG4 *) obj_buffer->buffer_data; 236 obj_buffer->buffer_data = NULL; 237 obj_buffer->size = 0; 308 static VAStatus tng__MPEG4ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) 318 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); 319 if (obj_buffer->size != sizeof(VAEncPictureParameterBufferMPEG4)) 444 object_buffer_p obj_buffer = buffers[i]; local [all...] |
tng_H263ES.c | 209 static VAStatus tng__H263ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) 218 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); 219 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH263)); 221 if (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH263)) { 225 psSeqParams = (VAEncSequenceParameterBufferH263 *) obj_buffer->buffer_data; 226 obj_buffer->buffer_data = NULL; 227 obj_buffer->size = 0; 292 static VAStatus tng__H263ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) 302 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); 303 if (obj_buffer->size != sizeof(VAEncPictureParameterBufferH263)) 570 object_buffer_p obj_buffer = buffers[i]; local [all...] |
pnw_H264ES.c | 207 static VAStatus pnw__H264ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) 217 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); 218 ASSERT(obj_buffer->num_elements == 1); 219 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH264)); 221 if ((obj_buffer->num_elements != 1) || 222 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH264))) { 230 pSequenceParams = (VAEncSequenceParameterBufferH264 *) obj_buffer->buffer_data; 231 obj_buffer->buffer_data = NULL; 232 obj_buffer->size = 0; 553 static VAStatus pnw__H264ES_insert_SEI_FPA_param(context_ENC_p ctx, object_buffer_p obj_buffer) 1263 object_buffer_p obj_buffer = buffers[i]; local [all...] |
psb_drv_video.c | 1604 object_buffer_p obj_buffer; local 1709 object_buffer_p obj_buffer; local 1950 object_buffer_p obj_buffer = BUFFER(buf_id); local 1970 object_buffer_p obj_buffer = BUFFER(buf_id); local 1993 object_buffer_p obj_buffer = BUFFER(buf_id); local 2025 object_buffer_p obj_buffer = BUFFER(buf_id); local 2042 object_buffer_p obj_buffer = BUFFER(buffer_id); local 2231 object_buffer_p obj_buffer = BUFFER(buffers[i]); local 3020 object_buffer_p obj_buffer; local [all...] |
psb_buffer.c | 494 object_buffer_p obj_buffer, 498 object_context_p obj_context = obj_buffer->context; 499 VACodedBufferSegment *vaCodedBufSeg = &obj_buffer->codedbuf_mapinfo[0]; 502 unsigned int uiBufOffset = tng_align_KB(obj_buffer->size >> 1); 574 object_buffer_p obj_buffer, 578 object_context_p obj_context = obj_buffer->context; 580 VACodedBufferSegment *p = &obj_buffer->codedbuf_mapinfo[0]; 592 psb_buffer_unmap(obj_buffer->psb_buffer); 593 obj_buffer->buffer_data = NULL; 600 memset(obj_buffer->codedbuf_mapinfo, 0, sizeof(obj_buffer->codedbuf_mapinfo)) [all...] |
tng_vld_dec.c | 192 VAStatus vld_dec_process_slice_data(context_DEC_p ctx, object_buffer_p obj_buffer) 199 ASSERT((obj_buffer->type == VASliceDataBufferType) || (obj_buffer->type == VAProtectedSliceDataBufferType)); 210 if ((NULL == obj_buffer->psb_buffer) || 211 (0 == obj_buffer->size)) { 230 vaStatus = vld_dec_process_slice(ctx, slice_param, obj_buffer); 243 VAStatus vld_dec_add_slice_param(context_DEC_p ctx, object_buffer_p obj_buffer) 245 ASSERT(obj_buffer->type == VASliceParameterBufferType); 256 ctx->slice_param_list[ctx->slice_param_list_idx] = obj_buffer; 269 object_buffer_p obj_buffer) 456 object_buffer_p obj_buffer = buffers[i]; local [all...] |
tng_yuv_processor.c | 185 static VAStatus tng__yuv_processor_execute(context_DEC_p dec_ctx, object_buffer_p obj_buffer) 192 ASSERT(obj_buffer->type == YUVProcessorSurfaceType || 193 obj_buffer->type == VAProcPipelineParameterBufferType); 194 ASSERT(obj_buffer->num_elements == 1); 195 ASSERT(obj_buffer->size == sizeof(struct surface_param_s)); 197 if ((obj_buffer->num_elements != 1) || 198 ((obj_buffer->size != sizeof(struct surface_param_s)) && 199 (obj_buffer->size != sizeof(VAProcPipelineParameterBuffer)))) { 204 if (obj_buffer->type == YUVProcessorSurfaceType) { 205 surface_param_p surface_params = (surface_param_p) obj_buffer->buffer_data 313 object_buffer_p obj_buffer = buffer; local [all...] |
pnw_jpeg.c | 312 static VAStatus pnw__jpeg_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) 326 ASSERT(obj_buffer->type == VAEncPictureParameterBufferType); 328 if ((obj_buffer->num_elements != 1) || 329 (obj_buffer->size != sizeof(VAEncPictureParameterBufferJPEG))) { 334 pBuffer = (VAEncPictureParameterBufferJPEG *) obj_buffer->buffer_data; 335 obj_buffer->buffer_data = NULL; 336 obj_buffer->size = 0; 458 static VAStatus pnw__jpeg_process_qmatrix_param(context_ENC_p ctx, object_buffer_p obj_buffer) 466 ASSERT(obj_buffer->type == VAQMatrixBufferType); 468 pBuffer = (VAQMatrixBufferJPEG *) obj_buffer->buffer_data 504 object_buffer_p obj_buffer = buffers[i]; local [all...] |
psb_buffer.h | 133 void psb__suspend_buffer(psb_driver_data_p driver_data, object_buffer_p obj_buffer); 149 object_buffer_p obj_buffer,
|
tng_VP8.c | 607 static VAStatus tng__VP8_process_picture_param(context_VP8_p ctx, object_buffer_p obj_buffer) { 613 ASSERT(obj_buffer->type == VAPictureParameterBufferType); 614 ASSERT(obj_buffer->num_elements == 1); 615 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferVP8)); 618 if ((obj_buffer->num_elements != 1) || 619 (obj_buffer->size != sizeof(VAPictureParameterBufferVP8)) || 625 VAPictureParameterBufferVP8 *pic_params = (VAPictureParameterBufferVP8 *) obj_buffer->buffer_data; 631 obj_buffer->buffer_data = NULL; 632 obj_buffer->size = 0; 702 static VAStatus tng__VP8_process_probility_param(context_VP8_p ctx, object_buffer_p obj_buffer) { 1506 object_buffer_p obj_buffer = buffer; local [all...] |
tng_jpegdec.c | 565 static VAStatus tng__JPEG_process_picture_param(context_JPEG_p ctx, object_buffer_p obj_buffer) { 567 ASSERT(obj_buffer->type == VAPictureParameterBufferType); 568 ASSERT(obj_buffer->num_elements == 1); 569 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferJPEGBaseline)); 571 if ((obj_buffer->num_elements != 1) || 572 (obj_buffer->size != sizeof(VAPictureParameterBufferJPEGBaseline))) { 580 ctx->pic_params = (VAPictureParameterBufferJPEGBaseline *) obj_buffer->buffer_data; 605 obj_buffer->buffer_data = NULL; 606 obj_buffer->size = 0; 634 static VAStatus tng__JPEG_process_iq_matrix(context_JPEG_p ctx, object_buffer_p obj_buffer) { 1034 object_buffer_p obj_buffer = buffer; local [all...] |
psb_drv_debug.h | 155 int psb__dump_va_buffers(object_buffer_p obj_buffer); 156 int psb__dump_va_buffers_verbose(object_buffer_p obj_buffer);
|
tng_vld_dec.h | 99 object_buffer_p obj_buffer);
|
/hardware/intel/img/psb_video/src/mrst/ |
lnc_H264ES.h | 40 object_buffer_p obj_buffer,
|
lnc_H263ES.c | 185 static VAStatus lnc__H263ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) 192 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); 193 ASSERT(obj_buffer->num_elements == 1); 194 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH263)); 196 if ((obj_buffer->num_elements != 1) || 197 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH263))) { 201 pSequenceParams = (VAEncSequenceParameterBufferH263 *) obj_buffer->buffer_data; 202 obj_buffer->buffer_data = NULL; 203 obj_buffer->size = 0; 248 static VAStatus lnc__H263ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) 526 object_buffer_p obj_buffer = buffers[i]; local [all...] |
lnc_MPEG4ES.c | 194 static VAStatus lnc__MPEG4ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) 201 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); 202 ASSERT(obj_buffer->num_elements == 1); 203 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferMPEG4)); 205 if ((obj_buffer->num_elements != 1) || 206 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferMPEG4))) { 210 seq_params = (VAEncSequenceParameterBufferMPEG4 *) obj_buffer->buffer_data; 211 obj_buffer->buffer_data = NULL; 212 obj_buffer->size = 0; 279 static VAStatus lnc__MPEG4ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) 512 object_buffer_p obj_buffer = buffers[i]; local [all...] |
lnc_H264ES.c | 208 static VAStatus lnc__H264ES_process_sequence_param(context_ENC_p ctx, object_buffer_p obj_buffer) 216 ASSERT(obj_buffer->type == VAEncSequenceParameterBufferType); 217 ASSERT(obj_buffer->num_elements == 1); 218 ASSERT(obj_buffer->size == sizeof(VAEncSequenceParameterBufferH264)); 220 if ((obj_buffer->num_elements != 1) || 221 (obj_buffer->size != sizeof(VAEncSequenceParameterBufferH264))) { 227 pSequenceParams = (VAEncSequenceParameterBufferH264 *) obj_buffer->buffer_data; 228 obj_buffer->buffer_data = NULL; 229 obj_buffer->size = 0; 314 static VAStatus lnc__H264ES_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer) 742 object_buffer_p obj_buffer = buffers[i]; local [all...] |
psb_MPEG2.c | 696 static VAStatus psb__MPEG2_process_picture_param(context_MPEG2_p ctx, object_buffer_p obj_buffer) 698 ASSERT(obj_buffer->type == VAPictureParameterBufferType); 699 ASSERT(obj_buffer->num_elements == 1); 700 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferMPEG2)); 702 if ((obj_buffer->num_elements != 1) || 703 (obj_buffer->size != sizeof(VAPictureParameterBufferMPEG2))) { 711 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; 712 obj_buffer->buffer_data = NULL; 713 obj_buffer->size = 0; 841 static VAStatus psb__MPEG2_process_iq_matrix(context_MPEG2_p ctx, object_buffer_p obj_buffer) 1529 object_buffer_p obj_buffer = buffers[i]; local [all...] |
psb_MPEG4.c | 1402 object_buffer_p obj_buffer = buffers[i]; local [all...] |
psb_H264.c | 608 static VAStatus psb__H264_process_picture_param(context_H264_p ctx, object_buffer_p obj_buffer) 615 ASSERT(obj_buffer->type == VAPictureParameterBufferType); 616 ASSERT(obj_buffer->num_elements == 1); 617 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferH264)); 620 if ((obj_buffer->num_elements != 1) || 621 (obj_buffer->size != sizeof(VAPictureParameterBufferH264)) || 623 (NULL == obj_buffer->buffer_data)) { 629 VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *) obj_buffer->buffer_data; 634 obj_buffer->buffer_data = NULL; 635 obj_buffer->size = 0 1782 object_buffer_p obj_buffer = buffers[i]; local [all...] |