Lines Matching refs:max_references
366 unsigned max_references = dec->base.max_references + 1;
369 max_references = MAX2(max_references, 8);
371 max_references = MAX2(max_references, 17);
375 return ((width + 255) / 16) * ((height + 255) / 16) * 16 * max_references + 52 * 1024;
389 unsigned max_references = dec->base.max_references + 1;
392 max_references = MAX2(max_references, 8);
394 max_references = MAX2(max_references, 17);
406 cm_buffer_size = max_references * context_buffer_size_per_ctb_row * height_in_ctb;
871 unsigned max_references = dec->base.max_references + 1;
906 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references);
907 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256);
922 unsigned max_references = dec->base.max_references + 1;
965 max_references = MAX2(MIN2(NUM_H264_REFS, num_dpb_buffer), max_references);
966 dpb_size = image_size * max_references;
972 max_references = MAX2(max_references, 8);
974 max_references = MAX2(max_references, 17);
979 dpb_size = align((align(width, 32) * height * 9) / 4, 256) * max_references;
981 dpb_size = align((align(width, 32) * height * 3) / 2, 256) * max_references;
986 max_references = MAX2(NUM_VC1_REFS, max_references);
989 dpb_size = image_size * max_references;
1011 dpb_size = image_size * max_references;