Searched refs:cpb_size (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_vcn_enc.c | 229 unsigned cpb_size; in radeon_create_encoder() local 278 cpb_size = (sscreen->info.chip_class < GFX9) ? in radeon_create_encoder() 284 cpb_size = cpb_size * 3 / 2; in radeon_create_encoder() 285 cpb_size = cpb_size * enc->cpb_num; in radeon_create_encoder() 288 if (!si_vid_create_buffer(enc->screen, &enc->cpb, cpb_size, PIPE_USAGE_DEFAULT)) { in radeon_create_encoder()
|
D | radeon_vce.c | 396 unsigned cpb_size; in si_vce_create_encoder() local 462 cpb_size = (sscreen->info.chip_class < GFX9) ? in si_vce_create_encoder() 469 cpb_size = cpb_size * 3 / 2; in si_vce_create_encoder() 470 cpb_size = cpb_size * enc->cpb_num; in si_vce_create_encoder() 472 cpb_size += RVCE_MAX_AUX_BUFFER_NUM * in si_vce_create_encoder() 475 if (!si_vid_create_buffer(enc->screen, &enc->cpb, cpb_size, PIPE_USAGE_DEFAULT)) { in si_vce_create_encoder()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_vce.c | 397 unsigned cpb_size; in rvce_create_encoder() local 453 cpb_size = align(tmp_surf->u.legacy.level[0].nblk_x * tmp_surf->bpe, 128) * in rvce_create_encoder() 456 cpb_size = cpb_size * 3 / 2; in rvce_create_encoder() 457 cpb_size = cpb_size * enc->cpb_num; in rvce_create_encoder() 459 cpb_size += RVCE_MAX_AUX_BUFFER_NUM * in rvce_create_encoder() 462 if (!rvid_create_buffer(enc->screen, &enc->cpb, cpb_size, PIPE_USAGE_DEFAULT)) { in rvce_create_encoder()
|
/external/libhevc/encoder/ |
D | ihevce_encode_header_sei_vui.c | 1940 WORD32 cpb_size, bit_rate; in ihevce_populate_buffering_period_sei() local 1970 cpb_size = (ps_sub_layer_hrd_params->au4_cpb_size_du_value_minus1[i] + 1) * in ihevce_populate_buffering_period_sei() 1978 cpb_size = (ps_sub_layer_hrd_params->au4_cpb_size_value_minus1[i] + 1) * in ihevce_populate_buffering_period_sei() 1985 u8_temp = (ULWORD64)(90000 * (ULWORD64)cpb_size); in ihevce_populate_buffering_period_sei() 2006 cpb_size = (ps_sub_layer_hrd_params->au4_cpb_size_du_value_minus1[i] + 1) * in ihevce_populate_buffering_period_sei() 2014 cpb_size = (ps_sub_layer_hrd_params->au4_cpb_size_value_minus1[i] + 1) * in ihevce_populate_buffering_period_sei() 2021 ps_bp_sei->au4_vcl_initial_cpb_removal_delay[i] = 90000 * (cpb_size / bit_rate); in ihevce_populate_buffering_period_sei() 2028 ps_bp_sei->au4_vcl_initial_alt_cpb_removal_delay[i] = 90000 * (cpb_size / bit_rate); in ihevce_populate_buffering_period_sei()
|
/external/libdrm/tests/amdgpu/ |
D | uvd_enc_tests.c | 332 uint32_t vbuf_size, bs_size = 0x003f4800, cpb_size; in amdgpu_cs_uvd_enc_encode() local 335 cpb_size = vbuf_size * 10; in amdgpu_cs_uvd_enc_encode() 345 alloc_resource(&enc.cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
|
D | vce_tests.c | 446 uint32_t vbuf_size, bs_size = 0x154000, cpb_size; in amdgpu_cs_vce_encode() local 451 cpb_size = vbuf_size * 10; in amdgpu_cs_vce_encode() 463 alloc_resource(&enc.cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode()
|