Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c88 unsigned bs_size; member
791 dec->bs_size += size; in get_mjpeg_slice_header()
842 dec->bs_size = 0; in ruvd_begin_frame()
885 unsigned new_size = dec->bs_size + sizes[i]; in ruvd_decode_bitstream()
904 dec->bs_ptr += dec->bs_size; in ruvd_decode_bitstream()
908 dec->bs_size += sizes[i]; in ruvd_decode_bitstream()
915 dec->bs_size += 2; in ruvd_decode_bitstream()
930 unsigned bs_size; in ruvd_end_frame() local
940 bs_size = align(dec->bs_size, 128); in ruvd_end_frame()
941 memset(dec->bs_ptr, 0, bs_size - dec->bs_size); in ruvd_end_frame()
[all …]
Dradeon_vce.h399 unsigned bs_size; member
Dradeon_vce.c319 enc->bs_size = destination->width0; in rvce_encode_bitstream()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vce_50.c92 bs_offset = -(signed)(bs_idx * enc->bs_size); in encode()
96 RVCE_CS(enc->bs_size); // videoBitstreamRingSize in encode()
115 RVCE_CS(enc->bs_size); // allowedMaxBitstreamSize in encode()
Dradeon_uvd.c80 unsigned bs_size; member
1015 dec->bs_size = 0; in ruvd_begin_frame()
1051 unsigned new_size = dec->bs_size + sizes[i]; in ruvd_decode_bitstream()
1065 dec->bs_ptr += dec->bs_size; in ruvd_decode_bitstream()
1069 dec->bs_size += sizes[i]; in ruvd_decode_bitstream()
1083 unsigned bs_size; in ruvd_end_frame() local
1093 bs_size = align(dec->bs_size, 128); in ruvd_end_frame()
1094 memset(dec->bs_ptr, 0, bs_size - dec->bs_size); in ruvd_end_frame()
1118 dec->msg->body.decode.bsd_size = bs_size; in ruvd_end_frame()
Dradeon_vcn_dec_jpeg.c46 dec->jpg.bsd_size = align(dec->bs_size, 128); in radeon_jpeg_get_decode_param()
289 memset(dec->bs_ptr, 0, align(dec->bs_size, 128) - dec->bs_size); in send_cmd_jpeg()
Dradeon_vce_40_2_2.c299 RVCE_CS(enc->bs_size); // videoBitstreamRingSize in encode()
305 RVCE_CS(enc->bs_size); // allowedMaxBitstreamSize in encode()
Dradeon_vcn_dec.c490 result.vp9_frame_size = align(dec->bs_size, 128); in get_vp9_msg()
910 decode->bsd_size = align(dec->bs_size, 128); in rvcn_dec_message_decode()
1469 dec->bs_size = 0; in radeon_dec_begin_frame()
1505 unsigned new_size = dec->bs_size + sizes[i]; in radeon_dec_decode_bitstream()
1520 dec->bs_ptr += dec->bs_size; in radeon_dec_decode_bitstream()
1524 dec->bs_size += sizes[i]; in radeon_dec_decode_bitstream()
1541 memset(dec->bs_ptr, 0, align(dec->bs_size, 128) - dec->bs_size); in send_cmd_dec()
Dradeon_uvd_enc.h407 unsigned bs_size; member
Dradeon_vce_52.c237 bs_offset = -(signed)(bs_idx * enc->bs_size); in encode()
241 RVCE_CS(enc->bs_size); // videoBitstreamRingSize in encode()
260 RVCE_CS(enc->bs_size); // allowedMaxBitstreamSize in encode()
Dradeon_uvd_enc.c202 enc->bs_size = destination->width0; in radeon_uvd_enc_encode_bitstream()
Dradeon_vcn_dec.h836 unsigned bs_size; member
Dradeon_vce.h401 unsigned bs_size; member
Dradeon_vcn_enc.h522 unsigned bs_size; member
Dradeon_vcn_enc_1_2.c909 enc->enc_pic.bit_buf.video_bitstream_buffer_size = enc->bs_size; in radeon_enc_bitstream()
980 enc->enc_pic.enc_params.allowed_max_bitstream_size = enc->bs_size; in radeon_enc_encode_params()
1025 enc->enc_pic.enc_params.allowed_max_bitstream_size = enc->bs_size; in radeon_enc_encode_params_hevc()
Dradeon_vce.c310 enc->bs_size = destination->width0; in rvce_encode_bitstream()
Dradeon_uvd_enc_1_1.c794 enc->enc_pic.bit_buf.video_bitstream_buffer_size = enc->bs_size; in radeon_uvd_enc_bitstream()
876 enc->enc_pic.enc_params.allowed_max_bitstream_size = enc->bs_size; in radeon_uvd_enc_encode_params_hevc()
Dradeon_vcn_enc.c321 enc->bs_size = destination->width0; in radeon_enc_encode_bitstream()
/external/libdrm/tests/amdgpu/
Dvce_tests.c489 uint32_t vbuf_size, bs_size = 0x154000, cpb_size; in amdgpu_cs_vce_encode() local
500 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
502 alloc_resource(&enc.bs[1], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
670 uint32_t vbuf_size, bs_size = 0x154000, cpb_size; in amdgpu_cs_vce_encode_mv() local
680 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
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()