/hardware/intel/img/psb_video/src/ |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
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...] |
pnw_MPEG2.c | 669 static VAStatus psb__MPEG2_process_picture_param(context_MPEG2_p ctx, object_buffer_p obj_buffer) 672 ASSERT(obj_buffer->type == VAPictureParameterBufferType); 673 ASSERT(obj_buffer->num_elements == 1); 674 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferMPEG2)); 676 if ((obj_buffer->num_elements != 1) || 677 (obj_buffer->size != sizeof(VAPictureParameterBufferMPEG2))) { 685 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; 686 obj_buffer->buffer_data = NULL; 687 obj_buffer->size = 0; 820 static VAStatus psb__MPEG2_process_iq_matrix(context_MPEG2_p ctx, object_buffer_p obj_buffer) 1340 object_buffer_p obj_buffer = buffer; local [all...] |
tng_jpegES.c | 1376 object_buffer_p obj_buffer = buffers[i]; local [all...] |
vsp_vp8.c | 291 object_buffer_p obj_buffer) 300 (VAEncSequenceParameterBufferVP8 *) obj_buffer->buffer_data; 392 object_buffer_p obj_buffer, 400 (VAEncPictureParameterBufferVP8 *) obj_buffer->buffer_data; 489 static VAStatus vsp_vp8_process_misc_param(context_VPP_p ctx, object_buffer_p obj_buffer) 502 ASSERT(obj_buffer->type == VAEncMiscParameterBufferType); 503 pBuffer = (VAEncMiscParameterBuffer *) obj_buffer->buffer_data; 504 obj_buffer->size = 0; 693 free(obj_buffer->buffer_data); 694 obj_buffer->buffer_data = NULL 712 object_buffer_p obj_buffer = buffers[i]; local [all...] |
pnw_MPEG4.c | 2104 object_buffer_p obj_buffer = buffer; 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_output.c | 468 object_buffer_p obj_buffer; local 516 obj_buffer = BUFFER(bufferID); 517 if (NULL == obj_buffer) { 523 MEMSET_OBJECT(obj_buffer, struct object_buffer_s); 525 obj_buffer->type = VAImageBufferType; 526 obj_buffer->buffer_data = NULL; 527 obj_buffer->psb_buffer = &obj_surface->psb_surface->buf; 528 obj_buffer->size = obj_surface->psb_surface->size; 529 obj_buffer->max_num_elements = 0; 530 obj_buffer->alloc_size = obj_buffer->size 618 object_buffer_p obj_buffer = BUFFER(obj_image->image.buf); local 622 object_buffer_p obj_buffer = BUFFER(obj_image->image.buf); local 892 object_buffer_p obj_buffer = BUFFER(obj_image->image.buf); local 1041 object_buffer_p obj_buffer = BUFFER(obj_image->image.buf); local 1208 object_buffer_p obj_buffer = BUFFER(obj_image->image.buf); local 1299 object_buffer_p obj_buffer = BUFFER(image->buf); 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...] |
vsp_VPP.c | 390 static VAStatus vsp__VPP_process_pipeline_param(context_VPP_p ctx, object_context_p obj_context, object_buffer_p obj_buffer) 395 VAProcPipelineParameterBuffer *pipeline_param = (VAProcPipelineParameterBuffer *) obj_buffer->buffer_data; 727 obj_buffer->buffer_data = NULL; 728 obj_buffer->size = 0; 744 object_buffer_p obj_buffer = buffers[i]; local 745 pipeline_param = (VAProcPipelineParameterBuffer *) obj_buffer->buffer_data; 747 switch (obj_buffer->type) { 751 vaStatus = vsp_compose_process_pipeline_param(ctx, obj_context, obj_buffer); 754 vaStatus = vsp__VPP_process_pipeline_param(ctx, obj_context, obj_buffer); [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
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_MPEG2MC.c | 1399 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...] |
psb_VC1.c | 708 static VAStatus psb__VC1_process_picture_param(context_VC1_p ctx, object_buffer_p obj_buffer) 714 ASSERT(obj_buffer->type == VAPictureParameterBufferType); 715 ASSERT(obj_buffer->num_elements == 1); 716 ASSERT(obj_buffer->size == sizeof(VAPictureParameterBufferVC1)); 718 if ((obj_buffer->num_elements != 1) || 719 (obj_buffer->size != sizeof(VAPictureParameterBufferVC1))) { 726 pic_params = (VAPictureParameterBufferVC1 *) obj_buffer->buffer_data; 731 obj_buffer->buffer_data = NULL; 732 obj_buffer->size = 0; 2662 object_buffer_p obj_buffer = buffers[i]; local [all...] |