/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_uvd.c | 225 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h264_perf() local 261 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references); in calc_ctx_size_h264_perf() 262 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf() 265 max_references = MAX2(NUM_H264_REFS, max_references); in calc_ctx_size_h264_perf() 267 ctx_size = align(width_in_mb * height_in_mb * max_references * 192, 256); in calc_ctx_size_h264_perf() 278 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main() local 281 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main() 283 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main() 287 return ((width + 255) / 16) * ((height + 255) / 16) * 16 * max_references + 52 * 1024; in calc_ctx_size_h265_main() 302 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main10() local [all …]
|
D | radeon_vcn_dec.c | 494 assert(dec->base.max_references + 1 <= ARRAY_SIZE(dec->render_pic_list)); in get_vp9_msg() 600 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main() local 603 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main() 605 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main() 609 return ((width + 255) / 16) * ((height + 255) / 16) * 16 * max_references + 52 * 1024; in calc_ctx_size_h265_main() 624 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main10() local 627 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main10() 629 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main10() 641 cm_buffer_size = max_references * context_buffer_size_per_ctb_row * height_in_ctb; in calc_ctx_size_h265_main10() 1245 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h264_perf() local [all …]
|
D | radeon_vce_40_2_2.c | 156 RVCE_CS(MAX2(enc->base.max_references, 1) - 1); // encBPicPattern in pic_control() 158 RVCE_CS(MIN2(enc->base.max_references, 2)); // encNumberOfReferenceFrames in pic_control() 159 RVCE_CS(enc->base.max_references + 1); // encMaxNumRefFrames in pic_control()
|
D | radeon_vce_52.c | 103 enc->enc_pic.pc.enc_b_pic_pattern = MAX2(enc->base.max_references, 1) - 1; in get_pic_control_param() 104 enc->enc_pic.pc.enc_number_of_reference_frames = MIN2(enc->base.max_references, 2); in get_pic_control_param() 105 enc->enc_pic.pc.enc_max_num_ref_frames = enc->base.max_references + 1; in get_pic_control_param()
|
D | radeon_vce.c | 412 if ((sscreen->info.family >= CHIP_TONGA) && (templ->max_references == 1) && in si_vce_create_encoder()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_video_vp.c | 97 if (dec->base.max_references > 2) in nvc0_decoder_vp() 98 codec_extra += 1 + (dec->base.max_references - 2); in nvc0_decoder_vp() 103 for (i = 0; i < dec->base.max_references; ++i) { in nvc0_decoder_vp() 140 uint64_t tmpimg_addr = dec->ref_bo->offset + dec->ref_stride * (dec->base.max_references+2); in nvc0_decoder_vp() 154 if (dec->base.max_references > 2) { in nvc0_decoder_vp() 157 BEGIN_NVC0(push, SUBC_VP(0x400), dec->base.max_references - 2); in nvc0_decoder_vp() 158 for (i = 2; i < dec->base.max_references; ++i) { in nvc0_decoder_vp()
|
D | nvc0_video.c | 221 assert(templ->max_references <= 2); in nvc0_create_decoder() 227 assert(templ->max_references <= 2); in nvc0_create_decoder() 233 assert(templ->max_references <= 2); in nvc0_create_decoder() 239 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nvc0_create_decoder() 240 assert(templ->max_references <= 16); in nvc0_create_decoder() 268 dec->ref_stride * (templ->max_references+2) + tmp_size, in nvc0_create_decoder()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv98_video_vp.c | 97 if (dec->base.max_references > 2) in nv98_decoder_vp() 98 codec_extra += 1 + (dec->base.max_references - 2); in nv98_decoder_vp() 103 for (i = 0; i < dec->base.max_references; ++i) { in nv98_decoder_vp() 140 uint64_t tmpimg_addr = dec->ref_bo->offset + dec->ref_stride * (dec->base.max_references+2); in nv98_decoder_vp() 154 if (dec->base.max_references > 2) { in nv98_decoder_vp() 157 BEGIN_NV04(push, SUBC_VP(0x400), dec->base.max_references - 2); in nv98_decoder_vp() 158 for (i = 2; i < dec->base.max_references; ++i) { in nv98_decoder_vp()
|
D | nv98_video.c | 199 assert(templ->max_references <= 2); in nv98_create_decoder() 205 assert(templ->max_references <= 2); in nv98_create_decoder() 211 assert(templ->max_references <= 2); in nv98_create_decoder() 217 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nv98_create_decoder() 218 assert(templ->max_references <= 16); in nv98_create_decoder() 244 dec->ref_stride * (templ->max_references+2) + tmp_size, in nv98_create_decoder()
|
D | nv84_video.c | 399 (templ->max_references + 1) * dec->frame_mbs * 0x40 + in nv84_create_decoder() 475 surf.height = (templ->max_references + 1) * dec->frame_mbs / 4; in nv84_create_decoder()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_uvd.c | 245 unsigned max_references = dec->base.max_references + 1; in calc_dpb_size() local 291 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references); in calc_dpb_size() 292 dpb_size = image_size * max_references; in calc_dpb_size() 294 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); in calc_dpb_size() 299 max_references = MAX2(NUM_H264_REFS, max_references); in calc_dpb_size() 301 dpb_size = image_size * max_references; in calc_dpb_size() 304 dpb_size += width_in_mb * height_in_mb * max_references * 192; in calc_dpb_size() 314 max_references = MAX2(NUM_VC1_REFS, max_references); in calc_dpb_size() 317 dpb_size = image_size * max_references; in calc_dpb_size() 339 dpb_size = image_size * max_references; in calc_dpb_size()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_video_codec.h | 56 unsigned max_references; member
|
/external/mesa3d/src/gallium/frontends/va/ |
D | picture_h264.c | 115 context->templat.max_references = MIN2(context->desc.h264.num_ref_frames, 16); in vlVaHandlePictureParameterBufferH264() 117 for (i = 0; i < context->templat.max_references; ++i) { in vlVaHandlePictureParameterBufferH264()
|
D | context.c | 253 context->templat.max_references = 2; in vlVaCreateContext() 257 context->templat.max_references = 0; in vlVaCreateContext()
|
D | picture_vp9.c | 91 if (!context->decoder && !context->templat.max_references) in vlVaHandlePictureParameterBufferVP9() 92 context->templat.max_references = NUM_VP9_REFS; in vlVaHandlePictureParameterBufferVP9()
|
D | picture_h264_enc.c | 116 context->templat.max_references = h264->max_num_ref_frames; in vlVaHandleVAEncSequenceParameterBufferTypeH264()
|
D | picture.c | 156 context->templat.height, &context->templat.max_references); in handlePictureParameterBuffer()
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_vp3_video_vp.c | 174 for (i = 0; i < dec->base.max_references; ++i) { in nouveau_vp3_handle_references() 198 for (i = 0; i < dec->base.max_references + 1; ++i) { in nouveau_vp3_handle_references() 208 assert(empty_spot < dec->base.max_references+1); in nouveau_vp3_handle_references() 390 assert(d->num_ref_frames <= dec->base.max_references); in nouveau_vp3_fill_picparm_h264_vp()
|
D | nouveau_vp3_video.h | 165 ret = dec->ref_stride * (dec->base.max_references+1); in nouveau_vp3_video_addr()
|
/external/mesa3d/src/gallium/frontends/vdpau/ |
D | decode.c | 44 uint32_t max_references, in vlVdpDecoderCreate() argument 119 templat.max_references = max_references; in vlVdpDecoderCreate() 124 &templat.max_references); in vlVdpDecoderCreate()
|
/external/mesa3d/src/gallium/frontends/omx/tizonia/ |
D | h264eprc.c | 541 templat.max_references = 1; in h264e_prc_prepare_to_transfer() 548 templat.max_references = OMX_VID_ENC_P_PERIOD_DEFAULT; in h264e_prc_prepare_to_transfer()
|
/external/mesa3d/src/gallium/frontends/xvmc/ |
D | context.c | 255 templat.max_references = 2; in XvMCCreateContext()
|
/external/mesa3d/src/gallium/frontends/omx/bellagio/ |
D | vid_dec_mpeg12.c | 75 templat.max_references = 2; in vid_dec_mpeg12_Init()
|
D | vid_enc.c | 621 templat.max_references = 1; in vid_enc_MessageHandler() 628 templat.max_references = OMX_VID_ENC_P_PERIOD_DEFAULT; in vid_enc_MessageHandler()
|
/external/mesa3d/docs/relnotes/ |
D | 20.3.4.rst | 175 - frontends/va/context: don't set max_references with num_render_targets
|