/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_uvd.c | 234 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h264_perf() local 270 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references); in calc_ctx_size_h264_perf() 271 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf() 274 max_references = MAX2(NUM_H264_REFS, max_references); in calc_ctx_size_h264_perf() 276 ctx_size = align(width_in_mb * height_in_mb * max_references * 192, 256); in calc_ctx_size_h264_perf() 287 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main() local 290 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main() 292 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main() 296 return ((width + 255) / 16) * ((height + 255) / 16) * 16 * max_references + 52 * 1024; in calc_ctx_size_h265_main() 309 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main10() local [all …]
|
D | radeon_vcn_dec.c | 366 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main() local 369 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main() 371 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main() 375 return ((width + 255) / 16) * ((height + 255) / 16) * 16 * max_references + 52 * 1024; in calc_ctx_size_h265_main() 389 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main10() local 392 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main10() 394 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main10() 406 cm_buffer_size = max_references * context_buffer_size_per_ctb_row * height_in_ctb; in calc_ctx_size_h265_main10() 871 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h264_perf() local 906 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references); in calc_ctx_size_h264_perf() [all …]
|
D | radeon_vce_40_2_2.c | 162 RVCE_CS(MAX2(enc->base.max_references, 1) - 1); // encBPicPattern in pic_control() 164 RVCE_CS(MIN2(enc->base.max_references, 2)); // encNumberOfReferenceFrames in pic_control() 165 RVCE_CS(enc->base.max_references + 1); // encMaxNumRefFrames in pic_control()
|
D | radeon_vce_52.c | 89 enc->enc_pic.pc.enc_b_pic_pattern = MAX2(enc->base.max_references, 1) - 1; in get_pic_control_param() 90 enc->enc_pic.pc.enc_number_of_reference_frames = MIN2(enc->base.max_references, 2); in get_pic_control_param() 91 enc->enc_pic.pc.enc_max_num_ref_frames = enc->base.max_references + 1; in get_pic_control_param()
|
D | radeon_vcn_enc_1_2.c | 397 radeon_enc_code_ue(enc, (enc->base.max_references + 1)); in radeon_enc_nalu_sps() 435 radeon_enc_code_ue(enc, (enc->base.max_references + 1)); in radeon_enc_nalu_sps()
|
D | radeon_vce.c | 423 (templ->max_references == 1) && in si_vce_create_encoder()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_uvd.c | 236 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main() local 239 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main() 241 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main() 245 return ((width + 255) / 16) * ((height + 255) / 16) * 16 * max_references + 52 * 1024; in calc_ctx_size_h265_main() 258 unsigned max_references = dec->base.max_references + 1; in calc_ctx_size_h265_main10() local 261 max_references = MAX2(max_references, 8); in calc_ctx_size_h265_main10() 263 max_references = MAX2(max_references, 17); in calc_ctx_size_h265_main10() 275 cm_buffer_size = max_references * context_buffer_size_per_ctb_row * height_in_ctb; in calc_ctx_size_h265_main10() 296 unsigned max_references = dec->base.max_references + 1; in calc_dpb_size() local 342 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references); in calc_dpb_size() [all …]
|
/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/state_trackers/va/ |
D | context.c | 250 context->templat.max_references = 2; in vlVaCreateContext() 254 context->templat.max_references = 0; in vlVaCreateContext() 271 context->templat.max_references = num_render_targets; in vlVaCreateContext()
|
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 | picture.c | 189 if (context->templat.max_references == 0 && in handlePictureParameterBuffer() 195 context->templat.height, &context->templat.max_references); in handlePictureParameterBuffer() 391 context->templat.max_references = h264->max_num_ref_frames; in handleVAEncSequenceParameterBufferType()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_video_codec.h | 56 unsigned max_references; member
|
/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/state_trackers/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/state_trackers/xvmc/ |
D | context.c | 255 templat.max_references = 2; in XvMCCreateContext()
|
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/ |
D | vid_dec_mpeg12.c | 75 templat.max_references = 2; in vid_dec_mpeg12_Init()
|
D | vid_enc.c | 701 templat.max_references = 1; in vid_enc_MessageHandler() 708 templat.max_references = OMX_VID_ENC_P_PERIOD_DEFAULT; in vid_enc_MessageHandler()
|
D | vid_dec_h264.c | 116 templat.max_references = priv->picture.h264.num_ref_frames; in vid_dec_h264_BeginFrame()
|