/external/libvpx/libvpx/vp9/encoder/ |
vp9_writer.c | 15 void vp9_start_encode(vp9_writer *br, uint8_t *source) { 16 br->lowvalue = 0; 17 br->range = 255; 18 br->value = 0; 19 br->count = -24; 20 br->buffer = source; 21 br->pos = 0; 22 vp9_write_bit(br, 0); 25 void vp9_stop_encode(vp9_writer *br) { 29 vp9_write_bit(br, 0) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_writer.c | 15 void vp9_start_encode(vp9_writer *br, uint8_t *source) { 16 br->lowvalue = 0; 17 br->range = 255; 18 br->value = 0; 19 br->count = -24; 20 br->buffer = source; 21 br->pos = 0; 22 vp9_write_bit(br, 0); 25 void vp9_stop_encode(vp9_writer *br) { 29 vp9_write_bit(br, 0) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_writer.c | 15 void vp9_start_encode(vp9_writer *br, uint8_t *source) { 16 br->lowvalue = 0; 17 br->range = 255; 18 br->count = -24; 19 br->buffer = source; 20 br->pos = 0; 21 vp9_write_bit(br, 0); 24 void vp9_stop_encode(vp9_writer *br) { 28 vp9_write_bit(br, 0); 31 if ((br->buffer[br->pos - 1] & 0xe0) == 0xc0 [all...] |
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
bit_reader.c | 27 int BrotliInitBitReader(BrotliBitReader* const br, BrotliInput input) { 29 assert(br != NULL); 31 br->buf_ptr_ = br->buf_; 32 br->input_ = input; 33 br->val_ = 0; 34 br->pos_ = 0; 35 br->bit_pos_ = 0; 36 br->bit_end_pos_ = 0; 37 br->eos_ = 0 [all...] |
bit_reader.h | 54 int BrotliInitBitReader(BrotliBitReader* const br, BrotliInput input); 57 static BROTLI_INLINE uint32_t BrotliPrefetchBits(BrotliBitReader* const br) { 58 return (uint32_t)(br->val_ >> br->bit_pos_); 63 static BROTLI_INLINE void BrotliSetBitPos(BrotliBitReader* const br, 66 uint32_t n_bits = val - br->bit_pos_; 67 const uint32_t bval = (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits]; 69 (br->pos_ << 3) + br->bit_pos_ - 64, n_bits, bval) [all...] |
/external/clang/test/CodeGenCXX/ |
2005-02-20-BrokenReferenceTest.cpp | 5 imgfoo &br = *(imgfoo *)b; local 7 br[0][0] = 1; 9 rb = br[0][0];
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
boolhuff.c | 43 void vp8_start_encode(BOOL_CODER *br, unsigned char *source, unsigned char *source_end) 46 br->lowvalue = 0; 47 br->range = 255; 48 br->count = -24; 49 br->buffer = source; 50 br->buffer_end = source_end; 51 br->pos = 0; 54 void vp8_stop_encode(BOOL_CODER *br) 59 vp8_encode_bool(br, 0, 128); 63 void vp8_encode_value(BOOL_CODER *br, int data, int bits [all...] |
boolhuff.h | 42 extern void vp8_encode_value(BOOL_CODER *br, int data, int bits); 62 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) 65 int count = br->count; 66 unsigned int range = br->range; 67 unsigned int lowvalue = br->lowvalue; 88 range = br->range - split; 102 int x = br->pos - 1; 104 while (x >= 0 && br->buffer[x] == 0xff) 106 br->buffer[x] = (unsigned char)0; 110 br->buffer[x] += 1 [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
boolhuff.c | 43 void vp8_start_encode(BOOL_CODER *br, unsigned char *source, unsigned char *source_end) 46 br->lowvalue = 0; 47 br->range = 255; 48 br->count = -24; 49 br->buffer = source; 50 br->buffer_end = source_end; 51 br->pos = 0; 54 void vp8_stop_encode(BOOL_CODER *br) 59 vp8_encode_bool(br, 0, 128); 63 void vp8_encode_value(BOOL_CODER *br, int data, int bits [all...] |
boolhuff.h | 46 extern void vp8_encode_value(BOOL_CODER *br, int data, int bits); 66 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) 69 int count = br->count; 70 unsigned int range = br->range; 71 unsigned int lowvalue = br->lowvalue; 92 range = br->range - split; 106 int x = br->pos - 1; 108 while (x >= 0 && br->buffer[x] == 0xff) 110 br->buffer[x] = (unsigned char)0; 114 br->buffer[x] += 1 [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
boolhuff.c | 43 void vp8_start_encode(BOOL_CODER *br, unsigned char *source, unsigned char *source_end) 46 br->lowvalue = 0; 47 br->range = 255; 48 br->count = -24; 49 br->buffer = source; 50 br->buffer_end = source_end; 51 br->pos = 0; 54 void vp8_stop_encode(BOOL_CODER *br) 59 vp8_encode_bool(br, 0, 128); 63 void vp8_encode_value(BOOL_CODER *br, int data, int bits [all...] |
boolhuff.h | 46 extern void vp8_encode_value(BOOL_CODER *br, int data, int bits); 66 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) 69 int count = br->count; 70 unsigned int range = br->range; 71 unsigned int lowvalue = br->lowvalue; 92 range = br->range - split; 106 int x = br->pos - 1; 108 while (x >= 0 && br->buffer[x] == 0xff) 110 br->buffer[x] = (unsigned char)0; 114 br->buffer[x] += 1 [all...] |
/external/chromium_org/third_party/libwebp/utils/ |
bit_reader.c | 23 void VP8InitBitReader(VP8BitReader* const br, 25 assert(br != NULL); 28 br->range_ = 255 - 1; 29 br->buf_ = start; 30 br->buf_end_ = end; 31 br->value_ = 0; 32 br->bits_ = -8; // to load the very first 8bits 33 br->eof_ = 0; 34 VP8LoadNewBytes(br); 37 void VP8RemapBitReader(VP8BitReader* const br, ptrdiff_t offset) [all...] |
bit_reader.h | 81 void VP8InitBitReader(VP8BitReader* const br, 86 void VP8RemapBitReader(VP8BitReader* const br, ptrdiff_t offset); 89 uint32_t VP8GetValue(VP8BitReader* const br, int num_bits); 90 static WEBP_INLINE uint32_t VP8Get(VP8BitReader* const br) { 91 return VP8GetValue(br, 1); 95 int32_t VP8GetSignedValue(VP8BitReader* const br, int num_bits); 98 // static WEBP_INLINE int VP8GetBit(VP8BitReader* const br, int prob) 99 // static WEBP_INLINE int VP8GetSigned(VP8BitReader* const br, int v) 122 void VP8LInitBitReader(VP8LBitReader* const br, 127 void VP8LBitReaderSetBuffer(VP8LBitReader* const br, [all...] |
bit_reader_inl.h | 52 void VP8LoadFinalBytes(VP8BitReader* const br); 57 // makes sure br->value_ has at least BITS bits worth of data 58 static WEBP_INLINE void VP8LoadNewBytes(VP8BitReader* const br) { 59 assert(br != NULL && br->buf_ != NULL); 61 if (br->buf_ + sizeof(lbit_t) <= br->buf_end_) { 66 memcpy(&in_bits, br->buf_, sizeof(in_bits)); 70 lbit_t* p_buf_ = (lbit_t*)br->buf_; 82 const lbit_t in_bits = *(const lbit_t*)br->buf_ [all...] |
/external/webp/src/utils/ |
bit_reader.c | 23 void VP8InitBitReader(VP8BitReader* const br, 25 assert(br != NULL); 28 br->range_ = 255 - 1; 29 br->buf_ = start; 30 br->buf_end_ = end; 31 br->value_ = 0; 32 br->bits_ = -8; // to load the very first 8bits 33 br->eof_ = 0; 34 VP8LoadNewBytes(br); 37 void VP8RemapBitReader(VP8BitReader* const br, ptrdiff_t offset) [all...] |
bit_reader.h | 81 void VP8InitBitReader(VP8BitReader* const br, 86 void VP8RemapBitReader(VP8BitReader* const br, ptrdiff_t offset); 89 uint32_t VP8GetValue(VP8BitReader* const br, int num_bits); 90 static WEBP_INLINE uint32_t VP8Get(VP8BitReader* const br) { 91 return VP8GetValue(br, 1); 95 int32_t VP8GetSignedValue(VP8BitReader* const br, int num_bits); 98 // static WEBP_INLINE int VP8GetBit(VP8BitReader* const br, int prob) 99 // static WEBP_INLINE int VP8GetSigned(VP8BitReader* const br, int v) 122 void VP8LInitBitReader(VP8LBitReader* const br, 127 void VP8LBitReaderSetBuffer(VP8LBitReader* const br, [all...] |
bit_reader_inl.h | 51 void VP8LoadFinalBytes(VP8BitReader* const br); 56 // makes sure br->value_ has at least BITS bits worth of data 57 static WEBP_INLINE void VP8LoadNewBytes(VP8BitReader* const br) { 58 assert(br != NULL && br->buf_ != NULL); 60 if (br->buf_ + sizeof(lbit_t) <= br->buf_end_) { 65 memcpy(&in_bits, br->buf_, sizeof(in_bits)); 69 lbit_t* p_buf_ = (lbit_t*)br->buf_; 81 const lbit_t in_bits = *(const lbit_t*)br->buf_ [all...] |
/external/flac/libFLAC/ |
bitreader.c | 178 static FLaC__INLINE void crc16_update_word_(FLAC__BitReader *br, brword word) 180 register unsigned crc = br->read_crc16; 182 switch(br->crc16_align) { 186 case 24: br->read_crc16 = FLAC__CRC16_UPDATE((unsigned)(word & 0xff), crc); 189 switch(br->crc16_align) { 197 case 56: br->read_crc16 = FLAC__CRC16_UPDATE((unsigned)(word & 0xff), crc); 200 for( ; br->crc16_align < FLAC__BITS_PER_WORD; br->crc16_align += 8) 201 crc = FLAC__CRC16_UPDATE((unsigned)((word >> (FLAC__BITS_PER_WORD-8-br->crc16_align)) & 0xff), crc); 202 br->read_crc16 = crc 298 FLAC__BitReader *br = (FLAC__BitReader*)calloc(1, sizeof(FLAC__BitReader)); local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/ |
dboolhuff.c | 15 int vp8dx_start_decode(BOOL_DECODER *br, 21 br->user_buffer_end = source+source_sz; 22 br->user_buffer = source; 23 br->value = 0; 24 br->count = -8; 25 br->range = 255; 26 br->decrypt_cb = decrypt_cb; 27 br->decrypt_state = decrypt_state; 33 vp8dx_bool_decoder_fill(br); 38 void vp8dx_bool_decoder_fill(BOOL_DECODER *br) [all...] |
dboolhuff.h | 49 int vp8dx_start_decode(BOOL_DECODER *br, 55 void vp8dx_bool_decoder_fill(BOOL_DECODER *br); 58 static int vp8dx_decode_bool(BOOL_DECODER *br, int probability) { 66 split = 1 + (((br->range - 1) * probability) >> 8); 68 if(br->count < 0) 69 vp8dx_bool_decoder_fill(br); 71 value = br->value; 72 count = br->count; 80 range = br->range - split; 91 br->value = value [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
dboolhuff.c | 14 int vp8dx_start_decode(BOOL_DECODER *br, 20 br->user_buffer_end = source+source_sz; 21 br->user_buffer = source; 22 br->value = 0; 23 br->count = -8; 24 br->range = 255; 25 br->decrypt_cb = decrypt_cb; 26 br->decrypt_state = decrypt_state; 32 vp8dx_bool_decoder_fill(br); 37 void vp8dx_bool_decoder_fill(BOOL_DECODER *br) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
dboolhuff.c | 14 int vp8dx_start_decode(BOOL_DECODER *br, 20 br->user_buffer_end = source+source_sz; 21 br->user_buffer = source; 22 br->value = 0; 23 br->count = -8; 24 br->range = 255; 25 br->decrypt_cb = decrypt_cb; 26 br->decrypt_state = decrypt_state; 32 vp8dx_bool_decoder_fill(br); 37 void vp8dx_bool_decoder_fill(BOOL_DECODER *br) [all...] |
/external/flac/libFLAC/include/private/ |
bitreader.h | 51 void FLAC__bitreader_delete(FLAC__BitReader *br); 52 FLAC__bool FLAC__bitreader_init(FLAC__BitReader *br, FLAC__CPUInfo cpu, FLAC__BitReaderReadCallback rcb, void *cd); 53 void FLAC__bitreader_free(FLAC__BitReader *br); /* does not 'free(br)' */ 54 FLAC__bool FLAC__bitreader_clear(FLAC__BitReader *br); 55 void FLAC__bitreader_dump(const FLAC__BitReader *br, FILE *out); 60 void FLAC__bitreader_reset_read_crc16(FLAC__BitReader *br, FLAC__uint16 seed); 61 FLAC__uint16 FLAC__bitreader_get_read_crc16(FLAC__BitReader *br); 66 FLAC__bool FLAC__bitreader_is_consumed_byte_aligned(const FLAC__BitReader *br); 67 unsigned FLAC__bitreader_bits_left_for_byte_alignment(const FLAC__BitReader *br); [all...] |
/external/clang/test/CodeGen/ |
2009-08-14-vararray-crash.c | 7 const img *br; local 10 (*br)[y];
|