/external/libvpx/libvpx/vp9/encoder/ |
vp9_boolhuff.c | 48 void vp9_start_encode(vp9_writer *br, uint8_t *source) { 49 br->lowvalue = 0; 50 br->range = 255; 51 br->value = 0; 52 br->count = -24; 53 br->buffer = source; 54 br->pos = 0; 55 vp9_write_bit(br, 0); 58 void vp9_stop_encode(vp9_writer *br) { 62 vp9_write_bit(br, 0) [all...] |
vp9_boolhuff.h | 44 static void vp9_write(vp9_writer *br, int bit, int probability) { 46 int count = br->count; 47 unsigned int range = br->range; 48 unsigned int lowvalue = br->lowvalue; 68 range = br->range - split; 80 int x = br->pos - 1; 82 while (x >= 0 && br->buffer[x] == 0xff) { 83 br->buffer[x] = 0; 87 br->buffer[x] += 1; 90 br->buffer[br->pos++] = (lowvalue >> (24 - offset)) [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/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 | 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/chromium_org/third_party/libwebp/utils/ |
bit_reader.c | 29 void VP8InitBitReader(VP8BitReader* const br, 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) { 77 assert(br != NULL && br->buf_ != NULL) [all...] |
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) { 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) { 153 assert(br != NULL && br->buf_ != NULL); 155 if (br->buf_ + sizeof(lbit_t) <= br->buf_end_) [all...] |
/external/webp/src/utils/ |
bit_reader.c | 29 void VP8InitBitReader(VP8BitReader* const br, 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) { 77 assert(br != NULL && br->buf_ != NULL) [all...] |
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) { 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) { 153 assert(br != NULL && br->buf_ != NULL); 155 if (br->buf_ + sizeof(lbit_t) <= br->buf_end_) [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/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...] |
dboolhuff.h | 50 int vp8dx_start_decode(BOOL_DECODER *br, 56 void vp8dx_bool_decoder_fill(BOOL_DECODER *br); 59 static int vp8dx_decode_bool(BOOL_DECODER *br, int probability) { 67 split = 1 + (((br->range - 1) * probability) >> 8); 69 if(br->count < 0) 70 vp8dx_bool_decoder_fill(br); 72 value = br->value; 73 count = br->count; 81 range = br->range - split; 92 br->value = value [all...] |
detokenize.c | 59 static int GetSigned(BOOL_DECODER *br, int value_to_sign) 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->value-bigsplit [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];
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedReaderTest.java | 37 BufferedReader br; field in class:OldBufferedReaderTest 43 br = new BufferedReader(new Support_StringReader(testString)); 44 assertNotNull(br); 50 br = new BufferedReader(new Support_StringReader(testString), 0); 54 br = new BufferedReader(new Support_StringReader(testString), 1024); 55 assertNotNull(br); 61 br = new BufferedReader(new Support_StringReader(testString)); 62 br.close(); 63 br.read(); 71 br = new BufferedReader(ssr) 398 BufferedReader br = new BufferedReader(new InputStreamReader(pis)); local [all...] |
OldFileReaderTest.java | 26 FileReader br; field in class:OldFileReaderTest 31 br = new FileReader(noFile); 40 br = new FileReader(System.getProperty("java.io.tmpdir") + "/noreader.tst");
|
/external/chromium_org/third_party/libwebp/dec/ |
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, 4) : 0 [all...] |
tree.c | 339 void VP8ParseIntraMode(VP8BitReader* const br, VP8Decoder* const dec) { 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, prob[3]) [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_dboolhuff.h | 41 static int vp9_read(vp9_reader *br, int probability) { 47 unsigned int split = ((br->range * probability) + (256 - probability)) >> 8; 49 if (br->count < 0) 50 vp9_reader_fill(br); 52 value = br->value; 53 count = br->count; 60 range = br->range - split; 71 br->value = value; 72 br->count = count; 73 br->range = range [all...] |
/external/webp/src/dec/ |
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, 4) : 0 [all...] |
tree.c | 339 void VP8ParseIntraMode(VP8BitReader* const br, VP8Decoder* const dec) { 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, prob[3]) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/io/ |
BufferedReaderTest.java | 34 BufferedReader br; field in class:BufferedReaderTest 92 br = new BufferedReader(new Support_StringReader(testString)); 93 br.close(); 94 br.read(); 107 br = new BufferedReader(new Support_StringReader(testString)); 108 br.skip(500); 109 br.mark(1000); 110 br.skip(250); 111 br.reset(); 113 br.read(buf, 0, 500) 149 BufferedReader br = new BufferedReader(new StringReader("01234"), 2); local [all...] |
/external/llvm/test/MC/ARM/ |
2013-03-18-Br-to-label-named-like-reg.s | 3 @ CHECK: br r1
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FileReaderTest.java | 31 FileReader br; field in class:FileReaderTest 46 br = new FileReader(f); 48 int r = br.read(buf); 49 br.close(); 62 br = new FileReader(fis.getFD()); 64 int r = br.read(buf); 65 br.close(); 78 br = new FileReader(f.getPath()); 80 int r = br.read(buf); 81 br.close() [all...] |