Home
last modified time | relevance | path

Searched refs:bs_size (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vce_50.c95 bs_offset = -(signed)(bs_idx * enc->bs_size); in encode()
99 RVCE_CS(enc->bs_size); // videoBitstreamRingSize in encode()
118 RVCE_CS(enc->bs_size); // allowedMaxBitstreamSize in encode()
Dradeon_uvd.c82 unsigned bs_size; member
1098 dec->bs_size += size; in get_mjpeg_slice_header()
1149 dec->bs_size = 0; in ruvd_begin_frame()
1192 unsigned new_size = dec->bs_size + sizes[i]; in ruvd_decode_bitstream()
1209 dec->bs_ptr += dec->bs_size; in ruvd_decode_bitstream()
1213 dec->bs_size += sizes[i]; in ruvd_decode_bitstream()
1220 dec->bs_size += 2; in ruvd_decode_bitstream()
1235 unsigned bs_size; in ruvd_end_frame() local
1245 bs_size = align(dec->bs_size, 128); in ruvd_end_frame()
1246 memset(dec->bs_ptr, 0, bs_size - dec->bs_size); in ruvd_end_frame()
[all …]
Dradeon_vcn_dec.c79 unsigned bs_size; member
648 decode->bsd_size = align(dec->bs_size, 128); in rvcn_dec_message_decode()
1079 dec->bs_size = 0; in radeon_dec_begin_frame()
1118 unsigned new_size = dec->bs_size + sizes[i]; in radeon_dec_decode_bitstream()
1132 dec->bs_ptr += dec->bs_size; in radeon_dec_decode_bitstream()
1136 dec->bs_size += sizes[i]; in radeon_dec_decode_bitstream()
1160 memset(dec->bs_ptr, 0, align(dec->bs_size, 128) - dec->bs_size); in radeon_dec_end_frame()
Dradeon_vce_40_2_2.c305 RVCE_CS(enc->bs_size); // videoBitstreamRingSize in encode()
311 RVCE_CS(enc->bs_size); // allowedMaxBitstreamSize in encode()
Dradeon_vcn_enc.h390 unsigned bs_size; member
Dradeon_vce_52.c224 bs_offset = -(signed)(bs_idx * enc->bs_size); in encode()
228 RVCE_CS(enc->bs_size); // videoBitstreamRingSize in encode()
247 RVCE_CS(enc->bs_size); // allowedMaxBitstreamSize in encode()
Dradeon_vcn_enc.c160 enc->bs_size = destination->width0; in radeon_enc_encode_bitstream()
Dradeon_vce.h393 unsigned bs_size; member
Dradeon_vcn_enc_1_2.c629 enc->enc_pic.bit_buf.video_bitstream_buffer_size = enc->bs_size; in radeon_enc_bitstream()
708 enc->enc_pic.enc_params.allowed_max_bitstream_size = enc->bs_size; in radeon_enc_encode_params()
Dradeon_vce.c314 enc->bs_size = destination->width0; in rvce_encode_bitstream()
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c88 unsigned bs_size; member
1018 dec->bs_size += size; in get_mjpeg_slice_header()
1069 dec->bs_size = 0; in ruvd_begin_frame()
1112 unsigned new_size = dec->bs_size + sizes[i]; in ruvd_decode_bitstream()
1129 dec->bs_ptr += dec->bs_size; in ruvd_decode_bitstream()
1133 dec->bs_size += sizes[i]; in ruvd_decode_bitstream()
1140 dec->bs_size += 2; in ruvd_decode_bitstream()
1155 unsigned bs_size; in ruvd_end_frame() local
1165 bs_size = align(dec->bs_size, 128); in ruvd_end_frame()
1166 memset(dec->bs_ptr, 0, bs_size - dec->bs_size); in ruvd_end_frame()
[all …]
Dradeon_vce.h399 unsigned bs_size; member
Dradeon_vce.c315 enc->bs_size = destination->width0; in rvce_encode_bitstream()
/external/libdrm/tests/amdgpu/
Dvce_tests.c446 uint32_t vbuf_size, bs_size = 0x154000, cpb_size; in amdgpu_cs_vce_encode() local
457 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
459 alloc_resource(&enc.bs[1], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
Duvd_enc_tests.c332 uint32_t vbuf_size, bs_size = 0x003f4800, cpb_size; in amdgpu_cs_uvd_enc_encode() local
341 alloc_resource(&enc.bs, bs_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()