/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_uvd.c | 88 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 …]
|
D | radeon_vce.h | 399 unsigned bs_size; member
|
D | radeon_vce.c | 319 enc->bs_size = destination->width0; in rvce_encode_bitstream()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_vce_50.c | 92 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()
|
D | radeon_uvd.c | 80 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()
|
D | radeon_vcn_dec_jpeg.c | 46 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()
|
D | radeon_vce_40_2_2.c | 299 RVCE_CS(enc->bs_size); // videoBitstreamRingSize in encode() 305 RVCE_CS(enc->bs_size); // allowedMaxBitstreamSize in encode()
|
D | radeon_vcn_dec.c | 490 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()
|
D | radeon_uvd_enc.h | 407 unsigned bs_size; member
|
D | radeon_vce_52.c | 237 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()
|
D | radeon_uvd_enc.c | 202 enc->bs_size = destination->width0; in radeon_uvd_enc_encode_bitstream()
|
D | radeon_vcn_dec.h | 836 unsigned bs_size; member
|
D | radeon_vce.h | 401 unsigned bs_size; member
|
D | radeon_vcn_enc.h | 522 unsigned bs_size; member
|
D | radeon_vcn_enc_1_2.c | 909 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()
|
D | radeon_vce.c | 310 enc->bs_size = destination->width0; in rvce_encode_bitstream()
|
D | radeon_uvd_enc_1_1.c | 794 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()
|
D | radeon_vcn_enc.c | 321 enc->bs_size = destination->width0; in radeon_enc_encode_bitstream()
|
/external/libdrm/tests/amdgpu/ |
D | vce_tests.c | 489 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()
|
D | uvd_enc_tests.c | 332 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()
|