/external/libvpx/libvpx/vpx_dsp/ |
H A D | bitwriter.c | 15 void vpx_start_encode(vpx_writer *br, uint8_t *source) { argument 16 br->lowvalue = 0; 17 br->range = 255; 18 br->count = -24; 19 br->buffer = source; 20 br->pos = 0; 21 vpx_write_bit(br, 0); 24 void vpx_stop_encode(vpx_writer *br) { argument 28 vpx_write_bit(br, 0); 31 if ((br [all...] |
H A D | bitwriter.h | 33 static INLINE void vpx_write(vpx_writer *br, int bit, int probability) { argument 35 int count = br->count; 36 unsigned int range = br->range; 37 unsigned int lowvalue = br->lowvalue; 46 range = br->range - split; 58 int x = br->pos - 1; 60 while (x >= 0 && br->buffer[x] == 0xff) { 61 br->buffer[x] = 0; 65 br->buffer[x] += 1; 68 br [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | 2005-02-20-BrokenReferenceTest.cpp | 5 imgfoo &br = *(imgfoo *)b; local 7 br[0][0] = 1; 9 rb = br[0][0];
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | boolhuff.c | 43 void vp8_start_encode(BOOL_CODER *br, unsigned char *source, unsigned char *source_end) argument 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) argument 59 vp8_encode_bool(br, 0, 128); 63 void vp8_encode_value(BOOL_CODER *br, in argument [all...] |
H A D | 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) argument 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 [all...] |
/external/webp/src/utils/ |
H A D | bit_reader.c | 23 void VP8BitReaderSetBuffer(VP8BitReader* const br, argument 26 br->buf_ = start; 27 br->buf_end_ = start + size; 28 br->buf_max_ = 33 void VP8InitBitReader(VP8BitReader* const br, argument 35 assert(br != NULL); 38 br->range_ = 255 - 1; 39 br->value_ = 0; 40 br->bits_ = -8; // to load the very first 8bits 41 br 46 VP8RemapBitReader(VP8BitReader* const br, ptrdiff_t offset) argument 86 VP8LoadFinalBytes(VP8BitReader* const br) argument 104 VP8GetValue(VP8BitReader* const br, int bits) argument 112 VP8GetSignedValue(VP8BitReader* const br, int bits) argument 139 VP8LInitBitReader(VP8LBitReader* const br, const uint8_t* const start, size_t length) argument 163 VP8LBitReaderSetBuffer(VP8LBitReader* const br, const uint8_t* const buf, size_t len) argument 174 VP8LSetEndOfStream(VP8LBitReader* const br) argument 180 ShiftBytes(VP8LBitReader* const br) argument 192 VP8LDoFillBitWindow(VP8LBitReader* const br) argument 211 VP8LReadBits(VP8LBitReader* const br, int n_bits) argument [all...] |
H A D | bit_reader.h | 84 void VP8InitBitReader(VP8BitReader* const br, 87 void VP8BitReaderSetBuffer(VP8BitReader* const br, 92 void VP8RemapBitReader(VP8BitReader* const br, ptrdiff_t offset); 95 uint32_t VP8GetValue(VP8BitReader* const br, int num_bits); 96 static WEBP_INLINE uint32_t VP8Get(VP8BitReader* const br) { argument 97 return VP8GetValue(br, 1); 101 int32_t VP8GetSignedValue(VP8BitReader* const br, int num_bits); 104 // static WEBP_INLINE int VP8GetBit(VP8BitReader* const br, int prob) 105 // static WEBP_INLINE int VP8GetSigned(VP8BitReader* const br, int v) 130 void VP8LInitBitReader(VP8LBitReader* const br, 145 VP8LPrefetchBits(VP8LBitReader* const br) argument 151 VP8LIsEndOfStream(const VP8LBitReader* const br) argument 158 VP8LSetBitPos(VP8LBitReader* const br, int val) argument 166 VP8LFillBitWindow(VP8LBitReader* const br) argument [all...] |
H A D | 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) { argument 59 assert(br != NULL && br->buf_ != NULL); 61 if (br->buf_ < br->buf_max_) { 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 109 VP8GetBit(VP8BitReader* const br, int prob) argument 151 VP8GetSigned(VP8BitReader* const br, int v) argument [all...] |
/external/opencv3/3rdparty/libwebp/utils/ |
H A D | bit_reader.c | 29 void VP8InitBitReader(VP8BitReader* const br, argument 31 assert(br != NULL); 34 br->range_ = MK(255 - 1); 35 br->buf_ = start; 36 br->buf_end_ = end; 37 br->value_ = 0; 38 br->bits_ = -8; // to load the very first 8bits 39 br->eof_ = 0; 76 void VP8LoadFinalBytes(VP8BitReader* const br) { argument 77 assert(br ! 100 VP8GetValue(VP8BitReader* const br, int bits) argument 108 VP8GetSignedValue(VP8BitReader* const br, int bits) argument 127 VP8LInitBitReader(VP8LBitReader* const br, const uint8_t* const start, size_t length) argument 148 VP8LBitReaderSetBuffer(VP8LBitReader* const br, const uint8_t* const buf, size_t len) argument 159 ShiftBytes(VP8LBitReader* const br) argument 168 VP8LFillBitWindow(VP8LBitReader* const br) argument 188 VP8LReadBits(VP8LBitReader* const br, int n_bits) argument [all...] |
H A D | bit_reader.h | 134 void VP8InitBitReader(VP8BitReader* const br, 138 uint32_t VP8GetValue(VP8BitReader* const br, int num_bits); 139 static WEBP_INLINE uint32_t VP8Get(VP8BitReader* const br) { argument 140 return VP8GetValue(br, 1); 144 int32_t VP8GetSignedValue(VP8BitReader* const br, int num_bits); 150 void VP8LoadFinalBytes(VP8BitReader* const br); // special case for the tail 152 static WEBP_INLINE void VP8LoadNewBytes(VP8BitReader* const br) { argument 153 assert(br != NULL && br->buf_ != NULL); 155 if (br 212 VP8BitUpdate(VP8BitReader* const br, range_t split) argument 242 VP8Shift(VP8BitReader* const br) argument 257 VP8GetBit(VP8BitReader* const br, int prob) argument 278 VP8GetSigned(VP8BitReader* const br, int v) argument 315 VP8LPrefetchBits(VP8LBitReader* const br) argument 320 VP8LDiscardBits(VP8LBitReader* const br, int num_bits) argument [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
H A D | dboolhuff.c | 16 int vp8dx_start_decode(BOOL_DECODER *br, argument 22 br->user_buffer_end = source+source_sz; 23 br->user_buffer = source; 24 br->value = 0; 25 br->count = -8; 26 br->range = 255; 27 br->decrypt_cb = decrypt_cb; 28 br->decrypt_state = decrypt_state; 34 vp8dx_bool_decoder_fill(br); 39 void vp8dx_bool_decoder_fill(BOOL_DECODER *br) argument [all...] |
H A D | 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) { argument 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 98 vp8_decode_value(BOOL_DECODER *br, int bits) argument 111 vp8dx_bool_error(BOOL_DECODER *br) argument [all...] |
H A D | detokenize.c | 59 static int GetSigned(BOOL_DECODER *br, int value_to_sign) argument 61 int split = (br->range + 1) >> 1; 65 if(br->count < 0) 66 vp8dx_bool_decoder_fill(br); 68 if ( br->value < bigsplit ) 70 br->range = split; 75 br->range = br->range-split; 76 br->value = br 89 GetCoeffs(BOOL_DECODER *br, ProbaArray prob, int ctx, int n, int16_t* out) argument [all...] |
/external/flac/libFLAC/ |
H A D | bitreader.c | 92 static inline void crc16_update_word_(FLAC__BitReader *br, uint32_t word) argument 94 register unsigned crc = br->read_crc16; 96 switch(br->crc16_align) { 100 case 24: br->read_crc16 = FLAC__CRC16_UPDATE((unsigned)(word & 0xff), crc); 103 switch(br->crc16_align) { 111 case 56: br->read_crc16 = FLAC__CRC16_UPDATE((unsigned)(word & 0xff), crc); 114 for( ; br->crc16_align < FLAC__BITS_PER_WORD; br->crc16_align += 8) 115 crc = FLAC__CRC16_UPDATE((unsigned)((word >> (FLAC__BITS_PER_WORD-8-br->crc16_align)) & 0xff), crc); 116 br 121 bitreader_read_from_client_(FLAC__BitReader *br) argument 204 FLAC__BitReader *br = calloc(1, sizeof(FLAC__BitReader)); local 218 FLAC__bitreader_delete(FLAC__BitReader *br) argument 232 FLAC__bitreader_init(FLAC__BitReader *br, FLAC__BitReaderReadCallback rcb, void *cd) argument 248 FLAC__bitreader_free(FLAC__BitReader *br) argument 262 FLAC__bitreader_clear(FLAC__BitReader *br) argument 269 FLAC__bitreader_dump(const FLAC__BitReader *br, FILE *out) argument 299 FLAC__bitreader_reset_read_crc16(FLAC__BitReader *br, FLAC__uint16 seed) argument 309 FLAC__bitreader_get_read_crc16(FLAC__BitReader *br) argument 325 FLAC__bitreader_is_consumed_byte_aligned(const FLAC__BitReader *br) argument 330 FLAC__bitreader_bits_left_for_byte_alignment(const FLAC__BitReader *br) argument 335 FLAC__bitreader_get_input_bits_unconsumed(const FLAC__BitReader *br) argument 340 FLAC__bitreader_read_raw_uint32(FLAC__BitReader *br, FLAC__uint32 *val, unsigned bits) argument 419 FLAC__bitreader_read_raw_int32(FLAC__BitReader *br, FLAC__int32 *val, unsigned bits) argument 432 FLAC__bitreader_read_raw_uint64(FLAC__BitReader *br, FLAC__uint64 *val, unsigned bits) argument 453 FLAC__bitreader_read_uint32_little_endian(FLAC__BitReader *br, FLAC__uint32 *val) argument 478 FLAC__bitreader_skip_bits_no_crc(FLAC__BitReader *br, unsigned bits) argument 513 FLAC__bitreader_skip_byte_block_aligned_no_crc(FLAC__BitReader *br, unsigned nvals) argument 548 FLAC__bitreader_read_byte_block_aligned_no_crc(FLAC__BitReader *br, FLAC__byte *val, unsigned nvals) argument 604 FLAC__bitreader_read_unary_unsigned(FLAC__BitReader *br, unsigned *val) argument 685 FLAC__bitreader_read_rice_signed(FLAC__BitReader *br, int *val, unsigned parameter) argument 713 FLAC__bitreader_read_rice_signed_block(FLAC__BitReader *br, int vals[], unsigned nvals, unsigned parameter) argument 937 FLAC__bitreader_read_utf8_uint32(FLAC__BitReader *br, FLAC__uint32 *val, FLAC__byte *raw, unsigned *rawlen) argument 992 FLAC__bitreader_read_utf8_uint64(FLAC__BitReader *br, FLAC__uint64 *val, FLAC__byte *raw, unsigned *rawlen) argument [all...] |
/external/webrtc/webrtc/modules/video_coding/utility/ |
H A D | vp8_header_parser.cc | 26 static void VP8LoadFinalBytes(VP8BitReader* const br) { argument 28 if (br->buf_ < br->buf_end_) { 29 br->bits_ += 8; 30 br->value_ = static_cast<uint32_t>(*br->buf_++) | (br->value_ << 8); 31 } else if (!br->eof_) { 32 br->value_ <<= 8; 33 br 38 VP8LoadNewBytes(VP8BitReader* const br) argument 60 VP8InitBitReader(VP8BitReader* const br, const uint8_t* const start, const uint8_t* const end) argument 73 VP8GetBit(VP8BitReader* const br, int prob) argument 100 VP8GetValue(VP8BitReader* const br, int bits) argument 108 VP8Get(VP8BitReader* const br) argument 112 VP8GetSignedValue(VP8BitReader* const br, int bits) argument 117 ParseSegmentHeader(VP8BitReader* br) argument 140 ParseFilterHeader(VP8BitReader* br) argument 167 VP8BitReader br; local [all...] |
/external/flac/libFLAC/include/private/ |
H A D | bitreader.h | 52 void FLAC__bitreader_delete(FLAC__BitReader *br); 53 FLAC__bool FLAC__bitreader_init(FLAC__BitReader *br, FLAC__BitReaderReadCallback rcb, void *cd); 54 void FLAC__bitreader_free(FLAC__BitReader *br); /* does not 'free(br)' */ 55 FLAC__bool FLAC__bitreader_clear(FLAC__BitReader *br); 56 void FLAC__bitreader_dump(const FLAC__BitReader *br, FILE *out); 61 void FLAC__bitreader_reset_read_crc16(FLAC__BitReader *br, FLAC__uint16 seed); 62 FLAC__uint16 FLAC__bitreader_get_read_crc16(FLAC__BitReader *br); 67 FLAC__bool FLAC__bitreader_is_consumed_byte_aligned(const FLAC__BitReader *br); 68 unsigned FLAC__bitreader_bits_left_for_byte_alignment(const FLAC__BitReader *br); [all...] |
/external/clang/test/CodeGen/ |
H A D | 2009-08-14-vararray-crash.c | 7 const img *br; local 10 (*br)[y];
|
/external/opencv3/3rdparty/libwebp/dec/ |
H A D | quant.c | 67 VP8BitReader* const br = &dec->br_; local 68 const int base_q0 = VP8GetValue(br, 7); 69 const int dqy1_dc = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0; 70 const int dqy2_dc = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0; 71 const int dqy2_ac = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0; 72 const int dquv_dc = VP8Get(br) ? VP8GetSignedValue(br, [all...] |
H A D | tree.c | 339 void VP8ParseIntraMode(VP8BitReader* const br, VP8Decoder* const dec) { argument 343 dec->is_i4x4_ = !VP8GetBit(br, 145); // decide for B_PRED first 346 VP8GetBit(br, 156) ? (VP8GetBit(br, 128) ? TM_PRED : H_PRED) 347 : (VP8GetBit(br, 163) ? V_PRED : DC_PRED); 363 i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i])]; 368 ymode = !VP8GetBit(br, prob[0]) ? B_DC_PRED : 369 !VP8GetBit(br, prob[1]) ? B_TM_PRED : 370 !VP8GetBit(br, prob[2]) ? B_VE_PRED : 371 !VP8GetBit(br, pro 541 VP8ParseProba(VP8BitReader* const br, VP8Decoder* const dec) argument [all...] |
/external/webp/src/dec/ |
H A D | quant.c | 63 VP8BitReader* const br = &dec->br_; local 64 const int base_q0 = VP8GetValue(br, 7); 65 const int dqy1_dc = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0; 66 const int dqy2_dc = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0; 67 const int dqy2_ac = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0; 68 const int dquv_dc = VP8Get(br) ? VP8GetSignedValue(br, [all...] |
H A D | tree.c | 282 static void ParseIntraMode(VP8BitReader* const br, argument 292 block->segment_ = !VP8GetBit(br, dec->proba_.segments_[0]) 293 ? VP8GetBit(br, dec->proba_.segments_[1]) 294 : 2 + VP8GetBit(br, dec->proba_.segments_[2]); 298 if (dec->use_skip_proba_) block->skip_ = VP8GetBit(br, dec->skip_p_); 300 block->is_i4x4_ = !VP8GetBit(br, 145); // decide for B_PRED first 304 VP8GetBit(br, 156) ? (VP8GetBit(br, 128) ? TM_PRED : H_PRED) 305 : (VP8GetBit(br, 163) ? V_PRED : DC_PRED); 319 int i = kYModesIntra4[VP8GetBit(br, pro 349 VP8ParseIntraModeRow(VP8BitReader* const br, VP8Decoder* const dec) argument 503 VP8ParseProba(VP8BitReader* const br, VP8Decoder* const dec) argument [all...] |
/external/clang/test/SemaCXX/ |
H A D | ns_returns_retained_block_return.cpp | 9 BT br() __attribute__((ns_returns_retained)) { function in class:S
|
/external/strace/linux/ia64/ |
H A D | arch_regs.c | 8 #define ARCH_PC_REG ia64_regs.br[0]
|
/external/v8/test/intl/ |
H A D | extra-flag.js | 22 var br = new Intl.v8BreakIterator(['en']); 23 assertTrue('resolved' in br);
|
H A D | no-extra-flag.js | 22 var br = new Intl.v8BreakIterator(['en']); 23 assertFalse('resolved' in br);
|