Home
last modified time | relevance | path

Searched refs:vlc (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vlc.h92 vl_vlc_next_input(struct vl_vlc *vlc) in vl_vlc_next_input() argument
94 const uint8_t* data = vlc->inputs[0]; in vl_vlc_next_input()
95 unsigned len = vlc->sizes[0]; in vl_vlc_next_input()
97 assert(vlc); in vl_vlc_next_input()
98 assert(vlc->num_inputs); in vl_vlc_next_input()
100 vlc->bytes_left -= len; in vl_vlc_next_input()
104 vlc->buffer |= (uint64_t)*data << (24 + vlc->invalid_bits); in vl_vlc_next_input()
107 vlc->invalid_bits -= 8; in vl_vlc_next_input()
109 vlc->data = data; in vl_vlc_next_input()
110 vlc->end = data + len; in vl_vlc_next_input()
[all …]
Dvl_mpeg12_bitstream.c634 vl_vlc_fillbits(&bs->vlc); in motion_vector()
635 motion_code = vl_vlc_get_vlclbf(&bs->vlc, tbl_B10, 11); in motion_vector()
639 int residual = vl_vlc_get_uimsbf(&bs->vlc, r_size) + 1; in motion_vector()
646 dmvector[t] = vl_vlc_get_vlclbf(&bs->vlc, tbl_B11, 2); in motion_vector()
668 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; in motion_vector_frame()
673 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << (s + 2); in motion_vector_frame()
692 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; in motion_vector_field()
695 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << (s + 2); in motion_vector_field()
699 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; in motion_vector_field()
723 vl_vlc_fillbits(&bs->vlc); in decode_dct()
[all …]
Dvl_mpeg12_bitstream.h41 struct vl_vlc vlc; member
/external/mesa3d/src/gallium/state_trackers/vdpau/
Ddecode.c387 struct vl_vlc vlc; in vlVdpDecoderFixVC1Startcode() local
391 vl_vlc_init(&vlc, *num_buffers, buffers, sizes); in vlVdpDecoderFixVC1Startcode()
392 for (i = 0; i < 64 && vl_vlc_bits_left(&vlc) >= 32; ++i) { in vlVdpDecoderFixVC1Startcode()
393 uint32_t value = vl_vlc_peekbits(&vlc, 32); in vlVdpDecoderFixVC1Startcode()
398 vl_vlc_eatbits(&vlc, 8); in vlVdpDecoderFixVC1Startcode()
399 vl_vlc_fillbits(&vlc); in vlVdpDecoderFixVC1Startcode()