Home
last modified time | relevance | path

Searched refs:bit_offset (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/common/libmix/videoencoder/
Dbitstream.h25 int bit_offset; member
45 bs->bit_offset = 0; in bitstream_start()
50 int pos = (bs->bit_offset >> 5); in bitstream_end()
51 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() local
52 int bit_left = 32 - bit_offset; in bitstream_end()
54 if (bit_offset) { in bitstream_end()
61 int pos = (bs->bit_offset >> 5); in bitstream_put_ui()
62 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_put_ui() local
63 int bit_left = 32 - bit_offset; in bitstream_put_ui()
68 bs->bit_offset += size_in_bits; in bitstream_put_ui()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_write_bit_buffer.c14 return wb->bit_offset / CHAR_BIT + (wb->bit_offset % CHAR_BIT > 0); in vp9_rb_bytes_written()
18 const int off = (int)wb->bit_offset; in vp9_wb_write_bit()
27 wb->bit_offset = off + 1; in vp9_wb_write_bit()
Dvp9_write_bit_buffer.h24 size_t bit_offset; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_read_bit_buffer.c13 return rb->bit_offset / CHAR_BIT + (rb->bit_offset % CHAR_BIT > 0); in vp9_rb_bytes_read()
17 const size_t off = rb->bit_offset; in vp9_rb_read_bit()
25 rb->bit_offset = off + 1; in vp9_rb_read_bit()
Dvp9_read_bit_buffer.h27 size_t bit_offset; member
/hardware/intel/common/libva/test/encode/
Davcenc.c730 int bit_offset; member
770 bs->bit_offset = 0; in bitstream_start()
776 int pos = (bs->bit_offset >> 5); in bitstream_end()
777 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() local
778 int bit_left = 32 - bit_offset; in bitstream_end()
780 if (bit_offset) { in bitstream_end()
788 int pos = (bs->bit_offset >> 5); in bitstream_put_ui()
789 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_put_ui() local
790 int bit_left = 32 - bit_offset; in bitstream_put_ui()
795 bs->bit_offset += size_in_bits; in bitstream_put_ui()
[all …]
Dmpeg2enc.c157 int bit_offset; member
179 bs->bit_offset = 0; in bitstream_start()
185 int pos = (bs->bit_offset >> 5); in bitstream_end()
186 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() local
187 int bit_left = 32 - bit_offset; in bitstream_end()
189 if (bit_offset) { in bitstream_end()
197 int pos = (bs->bit_offset >> 5); in bitstream_put_ui()
198 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_put_ui() local
199 int bit_left = 32 - bit_offset; in bitstream_put_ui()
207 bs->bit_offset += size_in_bits; in bitstream_put_ui()
[all …]
Dmpeg2vaenc.c157 int bit_offset; member
179 bs->bit_offset = 0; in bitstream_start()
185 int pos = (bs->bit_offset >> 5); in bitstream_end()
186 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() local
187 int bit_left = 32 - bit_offset; in bitstream_end()
189 if (bit_offset) { in bitstream_end()
197 int pos = (bs->bit_offset >> 5); in bitstream_put_ui()
198 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_put_ui() local
199 int bit_left = 32 - bit_offset; in bitstream_put_ui()
207 bs->bit_offset += size_in_bits; in bitstream_put_ui()
[all …]
Dh264encode.c166 int bit_offset; member
188 bs->bit_offset = 0; in bitstream_start()
194 int pos = (bs->bit_offset >> 5); in bitstream_end()
195 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() local
196 int bit_left = 32 - bit_offset; in bitstream_end()
198 if (bit_offset) { in bitstream_end()
206 int pos = (bs->bit_offset >> 5); in bitstream_put_ui()
207 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_put_ui() local
208 int bit_left = 32 - bit_offset; in bitstream_put_ui()
213 bs->bit_offset += size_in_bits; in bitstream_put_ui()
[all …]
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2437 int bit_offset; member
2477 bs->bit_offset = 0; in bitstream_start()
2483 int pos = (bs->bit_offset >> 5); in bitstream_end()
2484 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() local
2485 int bit_left = 32 - bit_offset; in bitstream_end()
2487 if (bit_offset) { in bitstream_end()
2495 int pos = (bs->bit_offset >> 5); in bitstream_put_ui()
2496 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_put_ui() local
2497 int bit_left = 32 - bit_offset; in bitstream_put_ui()
2502 bs->bit_offset += size_in_bits; in bitstream_put_ui()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_dx_iface.c115 rb.bit_offset += 1; // show frame in vp9_peek_si()
116 rb.bit_offset += 1; // error resilient in vp9_peek_si()
126 rb.bit_offset += 1; // [16,235] (including xvycc) vs [0,255] range in vp9_peek_si()
128 rb.bit_offset += 2; // subsampling x/y in vp9_peek_si()
129 rb.bit_offset += 1; // has extra plane in vp9_peek_si()
133 rb.bit_offset += 1; // has extra plane in vp9_peek_si()
/hardware/intel/common/libva/va/
Dva_fool.c298 codedbuf->bit_offset = 0; in va_FoolFillCodedBufEnc()
323 codedbuf->bit_offset = 0; in va_FoolFillCodedBufJPG()
Dva.h2464 unsigned int bit_offset; member
Dva_trace.c736 va_TraceMsg(trace_ctx, "\t bit_offset = %d\n", buf_list->bit_offset); in va_TraceMapBuffer()