/hardware/intel/img/psb_video/src/ |
pnw_VC1.c | 460 ctx->pic_params = NULL; 585 if (ctx->pic_params) { 586 free(ctx->pic_params); 587 ctx->pic_params = NULL; 596 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_FRMI) { 600 if (PIC_TYPE_IS_INTRA(ctx->pic_params->picture_fields.bits.picture_type)) { 610 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_P) { 718 VAPictureParameterBufferVC1 *pic_params; local 730 pic_params = (VAPictureParameterBufferVC1 *) obj_buffer->buffer_data; 731 if (ctx->pic_params) { 1322 VAPictureParameterBufferVC1 *pic_params = ctx->pic_params; local 1792 VAPictureParameterBufferVC1 *pic_params = ctx->pic_params; local 2321 VAPictureParameterBufferVC1 *pic_params = ctx->pic_params; local 2460 VAPictureParameterBufferVC1 *pic_params = ctx->pic_params; local [all...] |
tng_VP8.c | 265 VAPictureParameterBufferVP8 *pic_params; member in struct:context_VP8_s 466 ctx->pic_params = NULL; 579 if (ctx->pic_params) { 580 free(ctx->pic_params); 581 ctx->pic_params = NULL; 625 VAPictureParameterBufferVP8 *pic_params = (VAPictureParameterBufferVP8 *) obj_buffer->buffer_data; local 626 if (ctx->pic_params) { 627 free(ctx->pic_params); 630 ctx->pic_params = pic_params; [all...] |
pnw_H264.c | 129 VAPictureParameterBufferH264 *pic_params; member in struct:context_H264_s 424 ctx->pic_params = NULL; 517 if (ctx->pic_params) { 518 free(ctx->pic_params); 519 ctx->pic_params = NULL; 568 VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *) obj_buffer->buffer_data; local 569 if (ctx->pic_params) { 570 free(ctx->pic_params); 572 ctx->pic_params = pic_params; 1001 VAPictureParameterBufferH264 *pic_params = ctx->pic_params; local 1050 VAPictureParameterBufferH264 *pic_params = ctx->pic_params; local 1191 VAPictureParameterBufferH264 *pic_params = ctx->pic_params; local 1517 VAPictureParameterBufferH264 *pic_params = ctx->pic_params; local [all...] |
pnw_MPEG4.c | 1106 VAPictureParameterBufferMPEG4 *pic_params; member in struct:context_MPEG4_s [all...] |
pnw_MPEG2.c | 492 VAPictureParameterBufferMPEG2 *pic_params; member in struct:context_MPEG2_s 654 ctx->pic_params = NULL; 703 if (ctx->pic_params) { 704 free(ctx->pic_params); 705 ctx->pic_params = NULL; 725 if (ctx->pic_params) { 726 free(ctx->pic_params); 728 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; 733 switch (ctx->pic_params->picture_coding_type) { 740 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture) [all...] |
tng_jpegdec.c | 172 VAPictureParameterBufferJPEGBaseline *pic_params; member in struct:context_JPEG_s 295 ctx->pic_params = NULL; 344 if (ctx->pic_params) { 345 free(ctx->pic_params); 346 ctx->pic_params = NULL; 577 if (ctx->pic_params) { 578 free(ctx->pic_params); 580 ctx->pic_params = (VAPictureParameterBufferJPEGBaseline *) obj_buffer->buffer_data; 581 ctx->display_picture_width = ctx->pic_params->picture_width; 582 ctx->display_picture_height = ctx->pic_params->picture_height [all...] |
tng_cmdbuf.h | 127 /* Every frame has its own PIC_PARAMS, SLICE_PARAMS and HEADER mem 132 struct psb_buffer_s pic_params; 200 /* do relocation in PIC_PARAMS: src/dst Y/UV base, InParamsBase, CodeBase, BellowParamsBase, AboveParamsBase 214 /* do relocation in PIC_PARAMS: src/dst Y/UV base, InParamsBase, CodeBase, BellowParamsBase, AboveParamsBase */
|
pnw_cmdbuf.h | 89 /* Every frame has its own PIC_PARAMS, SLICE_PARAMS and HEADER mem 93 struct psb_buffer_s pic_params; member in struct:pnw_cmdbuf_s 171 /* do relocation in PIC_PARAMS: src/dst Y/UV base, InParamsBase, CodeBase, BellowParamsBase, AboveParamsBase */
|
pnw_rotate.c | 378 VAPictureParameterBufferMPEG2 *pic_params = (VAPictureParameterBufferMPEG2 *)pic_param_tmp; local 379 if ((pic_params->picture_coding_extension.bits.picture_structure == TOP_FIELD) || 380 (pic_params->picture_coding_extension.bits.picture_structure == BOTTOM_FIELD) || 381 ((pic_params->picture_coding_extension.bits.picture_structure == FRAME_PICTURE) && 382 (pic_params->picture_coding_extension.bits.progressive_frame == 0))) 392 VAPictureParameterBufferMPEG4 *pic_params = (VAPictureParameterBufferMPEG4 *)pic_param_tmp; local 394 if (pic_params->vol_fields.bits.interlaced) 402 VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *)pic_param_tmp; local 404 if (pic_params->pic_fields.bits.field_pic_flag || pic_params->seq_fields.bits.mb_adaptive_frame_field_flag 412 VAPictureParameterBufferVC1 *pic_params = (VAPictureParameterBufferVC1 *)pic_param_tmp; local [all...] |
pnw_hostcode.c | 52 PIC_PARAMS *psPicParams, 597 vaStatus = psb_buffer_map(&cmdbuf->pic_params, &cmdbuf->pic_params_p); 603 psb_buffer_unmap(&cmdbuf->pic_params); 609 psb_buffer_unmap(&cmdbuf->pic_params); 650 * the content of PIC_PARAMS is filled when RenderPicture(...,VAEncPictureParameterBufferXXX) 655 &cmdbuf->pic_params, 714 PIC_PARAMS *psPicParams; /* PIC_PARAMS has been put in pnw_hostcode.h */ 722 psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p + ctx->pic_params_size * core); 724 memset(psPicParams, 0, sizeof(PIC_PARAMS)); [all...] |
pnw_cmdbuf.c | 107 vaStatus = psb_buffer_create(driver_data, ctx->pic_params_size * MAX_TOPAZ_CORES, psb_bt_cpu_vpu, &cmdbuf->pic_params); 136 psb_buffer_destroy(&cmdbuf->pic_params); 158 psb_buffer_destroy(&cmdbuf->pic_params); 380 /* added pic_params/slice_params into ref, so the index is 1/2 */ 381 pnw_cmdbuf_buffer_ref(cmdbuf, &cmdbuf->pic_params);
|
pnw_H264ES.c | 721 PIC_PARAMS *psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p); [all...] |
vc1_header.h | 204 VAPictureParameterBufferVC1 *pic_params; member in struct:context_VC1_s 259 IMG_UINT8 ui8MVmode; /* TODO: Fix, differs slightly from pic_params->mv_mode! */
|
/hardware/intel/img/psb_video/src/mrst/ |
psb_VC1.c | 439 ctx->pic_params = NULL; 532 if (ctx->pic_params) { 533 free(ctx->pic_params); 534 ctx->pic_params = NULL; 590 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_FRMI) { 594 if (PIC_TYPE_IS_INTRA(ctx->pic_params->picture_fields.bits.picture_type)) { 604 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_P) { 711 VAPictureParameterBufferVC1 *pic_params; local 726 pic_params = (VAPictureParameterBufferVC1 *) obj_buffer->buffer_data; 727 if (ctx->pic_params) { 1323 VAPictureParameterBufferVC1 *pic_params = ctx->pic_params; local 1837 VAPictureParameterBufferVC1 *pic_params = ctx->pic_params; local 2346 VAPictureParameterBufferVC1 *pic_params = ctx->pic_params; local [all...] |
psb_H264.c | 114 VAPictureParameterBufferH264 *pic_params; member in struct:context_H264_s 402 ctx->pic_params = NULL; 528 if (ctx->pic_params) { 529 free(ctx->pic_params); 530 ctx->pic_params = NULL; 629 VAPictureParameterBufferH264 *pic_params = (VAPictureParameterBufferH264 *) obj_buffer->buffer_data; local 630 if (ctx->pic_params) { 631 free(ctx->pic_params); 633 ctx->pic_params = pic_params; 863 VAPictureParameterBufferH264 *pic_params = ctx->pic_params; local 905 VAPictureParameterBufferH264 *pic_params = ctx->pic_params; local 1078 VAPictureParameterBufferH264 *pic_params = ctx->pic_params; local 1477 VAPictureParameterBufferH264 *pic_params = ctx->pic_params; local [all...] |
psb_MPEG4.c | 281 VAPictureParameterBufferMPEG4 *pic_params; member in struct:context_MPEG4_s [all...] |
psb_MPEG2.c | 481 VAPictureParameterBufferMPEG2 *pic_params; member in struct:context_MPEG2_s 635 ctx->pic_params = NULL; 682 if (ctx->pic_params) { 683 free(ctx->pic_params); 684 ctx->pic_params = NULL; 708 if (ctx->pic_params) { 709 free(ctx->pic_params); 711 ctx->pic_params = (VAPictureParameterBufferMPEG2 *) obj_buffer->buffer_data; 716 switch (ctx->pic_params->picture_coding_type) { 723 ctx->forward_ref_surface = SURFACE(ctx->pic_params->forward_reference_picture) [all...] |
lnc_cmdbuf.h | 72 /* Every frame has its own PIC_PARAMS, SLICE_PARAMS and HEADER mem 76 struct psb_buffer_s pic_params; member in struct:lnc_cmdbuf_s 150 /* do relocation in PIC_PARAMS: src/dst Y/UV base, InParamsBase, CodeBase, BellowParamsBase, AboveParamsBase */
|
psb_MPEG2MC.c | 116 VAPictureParameterBufferMPEG2 *pic_params; member in struct:context_MPEG2MC_s [all...] |
lnc_hostcode.c | 203 vaStatus = psb_buffer_map(&cmdbuf->pic_params, &cmdbuf->pic_params_p); 209 psb_buffer_unmap(&cmdbuf->pic_params); 215 psb_buffer_unmap(&cmdbuf->pic_params); 235 /* write the address of structure PIC_PARAMS following command MTX_CMDID_START_PIC 236 * the content of PIC_PARAMS is filled when RenderPicture(...,VAEncPictureParameterBufferXXX) 238 RELOC_CMDBUF(cmdbuf->cmd_idx, 0, &cmdbuf->pic_params); 254 PIC_PARAMS *psPicParams; /* PIC_PARAMS has been put in lnc_hostcode.h */ 262 psPicParams = (PIC_PARAMS *)cmdbuf->pic_params_p; 267 * memset entirE PIC_PARAMS [all...] |
lnc_cmdbuf.c | 106 vaStatus = psb_buffer_create(driver_data, ctx->pic_params_size, psb_bt_cpu_vpu, &cmdbuf->pic_params); 132 psb_buffer_destroy(&cmdbuf->pic_params); 154 psb_buffer_destroy(&cmdbuf->pic_params); 322 /* added pic_params/slice_params into ref, so the index is 1/2 */ 323 lnc_cmdbuf_buffer_ref(cmdbuf, &cmdbuf->pic_params);
|
lnc_hostcode.h | 376 } PIC_PARAMS; 523 void lnc__setup_rcdata(context_ENC_p ctx, PIC_PARAMS *psPicParams, IMG_RC_PARAMS *rc_params); 524 void lnc__update_rcdata(context_ENC_p ctx, PIC_PARAMS *psPicParams, IMG_RC_PARAMS *rc_params);
|
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoformat_h264.c | 942 VAPictureParameterBufferH264 *pic_params = pic_data->pic_parms; local 951 pic_params->ReferenceFrames[i].picture_id = VA_INVALID_SURFACE; 952 pic_params->ReferenceFrames[i].frame_idx = -1; 953 pic_params->ReferenceFrames[i].TopFieldOrderCnt = -1; 954 pic_params->ReferenceFrames[i].BottomFieldOrderCnt = -1; 955 pic_params->ReferenceFrames[i].flags = VA_PICTURE_H264_INVALID; //assuming we don't need to OR with existing flags 958 pic_params->num_ref_frames = 0; 974 for (k = 0; k < pic_params->num_ref_frames; k++) 976 if (pic_params->ReferenceFrames[k].TopFieldOrderCnt == pRefList[j].TopFieldOrderCnt) 979 tflags = pic_params->ReferenceFrames[k].flags | pRefList[j].flags 1051 VAPictureParameterBufferH264 *pic_params = pic_data->pic_parms; local [all...] |
mixvideoformat_vc1.c | 932 VAPictureParameterBufferVC1 *pic_params = pic_data->pic_parms; local 934 if (pic_params == NULL) 946 enum _picture_type frame_type = pic_params->picture_fields.bits.picture_type; 1022 pic_params->forward_reference_picture = surface; 1023 pic_params->backward_reference_picture = surface; 1030 if (0 != pic_params->reference_fields.bits.reference_distance_flag && 1031 0 != pic_params->reference_fields.bits.reference_distance) 1044 if (1 == pic_params->reference_fields.bits.num_reference_pictures || 1045 1 == pic_params->reference_fields.bits.reference_field_pic_indicator) 1051 pic_params->forward_reference_picture = VA_INVALID_SURFACE [all...] |
mixvideoformat_h264.h | 106 VAPictureParameterBufferH264* pic_params,
|