/hardware/intel/img/psb_video/src/ |
D | pnw_VC1.c | 460 ctx->pic_params = NULL; in pnw_VC1_CreateContext() 585 if (ctx->pic_params) { in pnw_VC1_DestroyContext() 586 free(ctx->pic_params); in pnw_VC1_DestroyContext() 587 ctx->pic_params = NULL; in pnw_VC1_DestroyContext() 596 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_FRMI) { in psb__vc1_get_izz_scan_index() 600 if (PIC_TYPE_IS_INTRA(ctx->pic_params->picture_fields.bits.picture_type)) { in psb__vc1_get_izz_scan_index() 610 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_P) { in psb__vc1_get_izz_scan_index() 718 VAPictureParameterBufferVC1 *pic_params; in psb__VC1_process_picture_param() local 730 pic_params = (VAPictureParameterBufferVC1 *) obj_buffer->buffer_data; in psb__VC1_process_picture_param() 731 if (ctx->pic_params) { in psb__VC1_process_picture_param() [all …]
|
D | tng_VP8.c | 265 VAPictureParameterBufferVP8 *pic_params; member 466 ctx->pic_params = NULL; in tng_VP8_CreateContext() 579 if (ctx->pic_params) { in tng_VP8_DestroyContext() 580 free(ctx->pic_params); in tng_VP8_DestroyContext() 581 ctx->pic_params = NULL; in tng_VP8_DestroyContext() 625 … VAPictureParameterBufferVP8 *pic_params = (VAPictureParameterBufferVP8 *) obj_buffer->buffer_data; in tng__VP8_process_picture_param() local 626 if (ctx->pic_params) { in tng__VP8_process_picture_param() 627 free(ctx->pic_params); in tng__VP8_process_picture_param() 630 ctx->pic_params = pic_params; in tng__VP8_process_picture_param() 635 tng__VP8_trace_pic_params(pic_params); in tng__VP8_process_picture_param() [all …]
|
D | pnw_H264.c | 129 VAPictureParameterBufferH264 *pic_params; member 424 ctx->pic_params = NULL; in pnw_H264_CreateContext() 517 if (ctx->pic_params) { in pnw_H264_DestroyContext() 518 free(ctx->pic_params); in pnw_H264_DestroyContext() 519 ctx->pic_params = NULL; in pnw_H264_DestroyContext() 568 …VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *) obj_buffer->buffer_dat… in psb__H264_process_picture_param() local 569 if (ctx->pic_params) { in psb__H264_process_picture_param() 570 free(ctx->pic_params); in psb__H264_process_picture_param() 572 ctx->pic_params = pic_params; in psb__H264_process_picture_param() 577 psb__H264_trace_pic_params(pic_params); in psb__H264_process_picture_param() [all …]
|
D | pnw_MPEG4.c | 1106 VAPictureParameterBufferMPEG4 *pic_params; member 1282 ctx->pic_params = NULL; in pnw_MPEG4_CreateContext() 1373 if (ctx->pic_params) { in pnw_MPEG4_DestroyContext() 1374 free(ctx->pic_params); in pnw_MPEG4_DestroyContext() 1375 ctx->pic_params = NULL; in pnw_MPEG4_DestroyContext() 1397 if (ctx->pic_params) { in psb__MPEG4_process_picture_param() 1398 free(ctx->pic_params); in psb__MPEG4_process_picture_param() 1400 ctx->pic_params = (VAPictureParameterBufferMPEG4 *) obj_buffer->buffer_data; in psb__MPEG4_process_picture_param() 1407 switch (ctx->pic_params->vop_fields.bits.vop_coding_type) { in psb__MPEG4_process_picture_param() 1417 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture); in psb__MPEG4_process_picture_param() [all …]
|
D | pnw_MPEG2.c | 492 VAPictureParameterBufferMPEG2 *pic_params; member 654 ctx->pic_params = NULL; in pnw_MPEG2_CreateContext() 703 if (ctx->pic_params) { in pnw_MPEG2_DestroyContext() 704 free(ctx->pic_params); in pnw_MPEG2_DestroyContext() 705 ctx->pic_params = NULL; in pnw_MPEG2_DestroyContext() 725 if (ctx->pic_params) { in psb__MPEG2_process_picture_param() 726 free(ctx->pic_params); in psb__MPEG2_process_picture_param() 728 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; in psb__MPEG2_process_picture_param() 733 switch (ctx->pic_params->picture_coding_type) { in psb__MPEG2_process_picture_param() 740 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture); in psb__MPEG2_process_picture_param() [all …]
|
D | tng_jpegdec.c | 172 VAPictureParameterBufferJPEGBaseline *pic_params; member 295 ctx->pic_params = NULL; in tng_JPEG_CreateContext() 344 if (ctx->pic_params) { in tng_JPEG_DestroyContext() 345 free(ctx->pic_params); in tng_JPEG_DestroyContext() 346 ctx->pic_params = NULL; in tng_JPEG_DestroyContext() 577 if (ctx->pic_params) { in tng__JPEG_process_picture_param() 578 free(ctx->pic_params); in tng__JPEG_process_picture_param() 580 ctx->pic_params = (VAPictureParameterBufferJPEGBaseline *) obj_buffer->buffer_data; in tng__JPEG_process_picture_param() 581 ctx->display_picture_width = ctx->pic_params->picture_width; in tng__JPEG_process_picture_param() 582 ctx->display_picture_height = ctx->pic_params->picture_height; in tng__JPEG_process_picture_param() [all …]
|
D | pnw_rotate.c | 378 VAPictureParameterBufferMPEG2 *pic_params = (VAPictureParameterBufferMPEG2 *)pic_param_tmp; in psb_CheckInterlaceRotate() local 379 if ((pic_params->picture_coding_extension.bits.picture_structure == TOP_FIELD) || in psb_CheckInterlaceRotate() 380 (pic_params->picture_coding_extension.bits.picture_structure == BOTTOM_FIELD) || in psb_CheckInterlaceRotate() 381 ((pic_params->picture_coding_extension.bits.picture_structure == FRAME_PICTURE) && in psb_CheckInterlaceRotate() 382 (pic_params->picture_coding_extension.bits.progressive_frame == 0))) in psb_CheckInterlaceRotate() 392 VAPictureParameterBufferMPEG4 *pic_params = (VAPictureParameterBufferMPEG4 *)pic_param_tmp; in psb_CheckInterlaceRotate() local 394 if (pic_params->vol_fields.bits.interlaced) in psb_CheckInterlaceRotate() 402 VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *)pic_param_tmp; in psb_CheckInterlaceRotate() local 404 …if (pic_params->pic_fields.bits.field_pic_flag || pic_params->seq_fields.bits.mb_adaptive_frame_fi… in psb_CheckInterlaceRotate() 412 VAPictureParameterBufferVC1 *pic_params = (VAPictureParameterBufferVC1 *)pic_param_tmp; in psb_CheckInterlaceRotate() local [all …]
|
D | pnw_cmdbuf.c | 107 …r_create(driver_data, ctx->pic_params_size * MAX_TOPAZ_CORES, psb_bt_cpu_vpu, &cmdbuf->pic_params); in pnw_cmdbuf_create() 136 psb_buffer_destroy(&cmdbuf->pic_params); in pnw_cmdbuf_create() 158 psb_buffer_destroy(&cmdbuf->pic_params); in pnw_cmdbuf_destroy() 381 pnw_cmdbuf_buffer_ref(cmdbuf, &cmdbuf->pic_params); in pnw_context_get_next_cmdbuf()
|
D | pnw_jpeg.c | 274 vaStatus = psb_buffer_map(&cmdbuf->pic_params, &cmdbuf->pic_params_p); in pnw_jpeg_BeginPicture() 280 psb_buffer_unmap(&cmdbuf->pic_params); in pnw_jpeg_BeginPicture() 396 &cmdbuf->pic_params, in pnw__jpeg_process_picture_param() 605 psb_buffer_unmap(&cmdbuf->pic_params); in pnw_jpeg_EndPicture()
|
D | pnw_cmdbuf.h | 93 struct psb_buffer_s pic_params; member
|
D | vc1_header.h | 204 VAPictureParameterBufferVC1 *pic_params; member
|
D | tng_vld_dec.c | 203 ASSERT(ctx->pic_params); in vld_dec_process_slice_data() 207 if (!ctx->pic_params) { in vld_dec_process_slice_data()
|
D | pnw_hostcode.c | 597 vaStatus = psb_buffer_map(&cmdbuf->pic_params, &cmdbuf->pic_params_p); in pnw_BeginPicture() 603 psb_buffer_unmap(&cmdbuf->pic_params); in pnw_BeginPicture() 609 psb_buffer_unmap(&cmdbuf->pic_params); in pnw_BeginPicture() 655 &cmdbuf->pic_params, in pnw_BeginPicture() 1081 psb_buffer_unmap(&cmdbuf->pic_params); in pnw_EndPicture()
|
/hardware/intel/img/psb_video/src/mrst/ |
D | psb_VC1.c | 439 ctx->pic_params = NULL; in psb_VC1_CreateContext() 532 if (ctx->pic_params) { in psb_VC1_DestroyContext() 533 free(ctx->pic_params); in psb_VC1_DestroyContext() 534 ctx->pic_params = NULL; in psb_VC1_DestroyContext() 590 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_FRMI) { in psb__vc1_get_izz_scan_index() 594 if (PIC_TYPE_IS_INTRA(ctx->pic_params->picture_fields.bits.picture_type)) { in psb__vc1_get_izz_scan_index() 604 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_P) { in psb__vc1_get_izz_scan_index() 711 VAPictureParameterBufferVC1 *pic_params; in psb__VC1_process_picture_param() local 726 pic_params = (VAPictureParameterBufferVC1 *) obj_buffer->buffer_data; in psb__VC1_process_picture_param() 727 if (ctx->pic_params) { in psb__VC1_process_picture_param() [all …]
|
D | psb_H264.c | 114 VAPictureParameterBufferH264 *pic_params; member 402 ctx->pic_params = NULL; in psb_H264_CreateContext() 528 if (ctx->pic_params) { in psb_H264_DestroyContext() 529 free(ctx->pic_params); in psb_H264_DestroyContext() 530 ctx->pic_params = NULL; in psb_H264_DestroyContext() 629 …VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *) obj_buffer->buffer_dat… in psb__H264_process_picture_param() local 630 if (ctx->pic_params) { in psb__H264_process_picture_param() 631 free(ctx->pic_params); in psb__H264_process_picture_param() 633 ctx->pic_params = pic_params; in psb__H264_process_picture_param() 638 psb__H264_trace_pic_params(pic_params); in psb__H264_process_picture_param() [all …]
|
D | psb_MPEG4.c | 281 VAPictureParameterBufferMPEG4 *pic_params; member 448 ctx->pic_params = NULL; in psb_MPEG4_CreateContext() 531 if (ctx->pic_params) { in psb_MPEG4_DestroyContext() 532 free(ctx->pic_params); in psb_MPEG4_DestroyContext() 533 ctx->pic_params = NULL; in psb_MPEG4_DestroyContext() 596 if (ctx->pic_params) { in psb__MPEG4_process_picture_param() 597 free(ctx->pic_params); in psb__MPEG4_process_picture_param() 599 ctx->pic_params = (VAPictureParameterBufferMPEG4 *) obj_buffer->buffer_data; in psb__MPEG4_process_picture_param() 606 switch (ctx->pic_params->vop_fields.bits.vop_coding_type) { in psb__MPEG4_process_picture_param() 616 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture); in psb__MPEG4_process_picture_param() [all …]
|
D | psb_MPEG2.c | 481 VAPictureParameterBufferMPEG2 *pic_params; member 635 ctx->pic_params = NULL; in psb_MPEG2_CreateContext() 682 if (ctx->pic_params) { in psb_MPEG2_DestroyContext() 683 free(ctx->pic_params); in psb_MPEG2_DestroyContext() 684 ctx->pic_params = NULL; in psb_MPEG2_DestroyContext() 708 if (ctx->pic_params) { in psb__MPEG2_process_picture_param() 709 free(ctx->pic_params); in psb__MPEG2_process_picture_param() 711 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; in psb__MPEG2_process_picture_param() 716 switch (ctx->pic_params->picture_coding_type) { in psb__MPEG2_process_picture_param() 723 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture); in psb__MPEG2_process_picture_param() [all …]
|
D | psb_MPEG2MC.c | 116 VAPictureParameterBufferMPEG2 *pic_params; member 1122 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; in psb__MPEG2MC_process_picture_param() 1126 ctx->picture_coding_type = ctx->pic_params->picture_coding_type; in psb__MPEG2MC_process_picture_param() 1127 ctx->picture_structure = ctx->pic_params->picture_coding_extension.bits.picture_structure; in psb__MPEG2MC_process_picture_param() 1129 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture); in psb__MPEG2MC_process_picture_param() 1130 ctx->backward_ref_surface = SURFACE(ctx->pic_params->backward_reference_picture); in psb__MPEG2MC_process_picture_param() 1134 if (ctx->pic_params->picture_coding_extension.bits.is_first_field) { /* first field */ in psb__MPEG2MC_process_picture_param() 1159 ctx->pic_params->picture_coding_type = ctx->picture_coding_type; in psb__MPEG2MC_process_picture_param() 1183 ctx->coded_picture_width = ctx->pic_params->horizontal_size; in psb__MPEG2MC_process_picture_param() 1184 ctx->coded_picture_height = ctx->pic_params->vertical_size; in psb__MPEG2MC_process_picture_param() [all …]
|
D | lnc_cmdbuf.c | 106 …Status = psb_buffer_create(driver_data, ctx->pic_params_size, psb_bt_cpu_vpu, &cmdbuf->pic_params); in lnc_cmdbuf_create() 132 psb_buffer_destroy(&cmdbuf->pic_params); in lnc_cmdbuf_create() 154 psb_buffer_destroy(&cmdbuf->pic_params); in lnc_cmdbuf_destroy() 323 lnc_cmdbuf_buffer_ref(cmdbuf, &cmdbuf->pic_params); in lnc_context_get_next_cmdbuf()
|
D | lnc_cmdbuf.h | 76 struct psb_buffer_s pic_params; member
|
D | lnc_hostcode.c | 203 vaStatus = psb_buffer_map(&cmdbuf->pic_params, &cmdbuf->pic_params_p); in lnc_BeginPicture() 209 psb_buffer_unmap(&cmdbuf->pic_params); in lnc_BeginPicture() 215 psb_buffer_unmap(&cmdbuf->pic_params); in lnc_BeginPicture() 238 RELOC_CMDBUF(cmdbuf->cmd_idx, 0, &cmdbuf->pic_params); in lnc_BeginPicture() 658 psb_buffer_unmap(&cmdbuf->pic_params); in lnc_EndPicture()
|
/hardware/intel/common/libmix/mix_video/src/ |
D | mixvideoformat_h264.c | 942 VAPictureParameterBufferH264 *pic_params = pic_data->pic_parms; in mix_videofmt_h264_hack_dpb() local 951 pic_params->ReferenceFrames[i].picture_id = VA_INVALID_SURFACE; in mix_videofmt_h264_hack_dpb() 952 pic_params->ReferenceFrames[i].frame_idx = -1; in mix_videofmt_h264_hack_dpb() 953 pic_params->ReferenceFrames[i].TopFieldOrderCnt = -1; in mix_videofmt_h264_hack_dpb() 954 pic_params->ReferenceFrames[i].BottomFieldOrderCnt = -1; in mix_videofmt_h264_hack_dpb() 955 …pic_params->ReferenceFrames[i].flags = VA_PICTURE_H264_INVALID; //assuming we don't need to OR wi… in mix_videofmt_h264_hack_dpb() 958 pic_params->num_ref_frames = 0; in mix_videofmt_h264_hack_dpb() 974 for (k = 0; k < pic_params->num_ref_frames; k++) in mix_videofmt_h264_hack_dpb() 976 if (pic_params->ReferenceFrames[k].TopFieldOrderCnt == pRefList[j].TopFieldOrderCnt) in mix_videofmt_h264_hack_dpb() 979 tflags = pic_params->ReferenceFrames[k].flags | pRefList[j].flags; in mix_videofmt_h264_hack_dpb() [all …]
|
D | mixvideoformat_vc1.c | 932 VAPictureParameterBufferVC1 *pic_params = pic_data->pic_parms; in mix_videofmt_vc1_decode_a_picture() local 934 if (pic_params == NULL) in mix_videofmt_vc1_decode_a_picture() 946 enum _picture_type frame_type = pic_params->picture_fields.bits.picture_type; in mix_videofmt_vc1_decode_a_picture() 1022 pic_params->forward_reference_picture = surface; in mix_videofmt_vc1_decode_a_picture() 1023 pic_params->backward_reference_picture = surface; in mix_videofmt_vc1_decode_a_picture() 1030 if (0 != pic_params->reference_fields.bits.reference_distance_flag && in mix_videofmt_vc1_decode_a_picture() 1031 0 != pic_params->reference_fields.bits.reference_distance) in mix_videofmt_vc1_decode_a_picture() 1044 if (1 == pic_params->reference_fields.bits.num_reference_pictures || in mix_videofmt_vc1_decode_a_picture() 1045 1 == pic_params->reference_fields.bits.reference_field_pic_indicator) in mix_videofmt_vc1_decode_a_picture() 1051 pic_params->forward_reference_picture = VA_INVALID_SURFACE; in mix_videofmt_vc1_decode_a_picture() [all …]
|
D | mixvideoformat_h264.h | 106 VAPictureParameterBufferH264* pic_params,
|