br                 91 3rdparty/libwebp/dec/idec.c static void RemapBitReader(VP8BitReader* const br, ptrdiff_t offset) {
br                 92 3rdparty/libwebp/dec/idec.c   if (br->buf_ != NULL) {
br                 93 3rdparty/libwebp/dec/idec.c     br->buf_ += offset;
br                 94 3rdparty/libwebp/dec/idec.c     br->buf_end_ += offset;
br                240 3rdparty/libwebp/dec/idec.c   const VP8BitReader* const br = &dec->br_;
br                246 3rdparty/libwebp/dec/idec.c   context->br_ = *br;
br                254 3rdparty/libwebp/dec/idec.c   VP8BitReader* const br = &dec->br_;
br                260 3rdparty/libwebp/dec/idec.c   *br = context->br_;
br                359 3rdparty/libwebp/dec/idec.c   VP8BitReader* const br = &dec->br_;
br                360 3rdparty/libwebp/dec/idec.c   const size_t psize = br->buf_end_ - br->buf_;
br                372 3rdparty/libwebp/dec/idec.c     memcpy(part0_buf, br->buf_, psize);
br                374 3rdparty/libwebp/dec/idec.c     br->buf_ = part0_buf;
br                375 3rdparty/libwebp/dec/idec.c     br->buf_end_ = part0_buf + psize;
br                 67 3rdparty/libwebp/dec/quant.c   VP8BitReader* const br = &dec->br_;
br                 68 3rdparty/libwebp/dec/quant.c   const int base_q0 = VP8GetValue(br, 7);
br                 69 3rdparty/libwebp/dec/quant.c   const int dqy1_dc = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0;
br                 70 3rdparty/libwebp/dec/quant.c   const int dqy2_dc = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0;
br                 71 3rdparty/libwebp/dec/quant.c   const int dqy2_ac = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0;
br                 72 3rdparty/libwebp/dec/quant.c   const int dquv_dc = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0;
br                 73 3rdparty/libwebp/dec/quant.c   const int dquv_ac = VP8Get(br) ? VP8GetSignedValue(br, 4) : 0;
br                339 3rdparty/libwebp/dec/tree.c void VP8ParseIntraMode(VP8BitReader* const br,  VP8Decoder* const dec) {
br                343 3rdparty/libwebp/dec/tree.c   dec->is_i4x4_ = !VP8GetBit(br, 145);   // decide for B_PRED first
br                346 3rdparty/libwebp/dec/tree.c         VP8GetBit(br, 156) ? (VP8GetBit(br, 128) ? TM_PRED : H_PRED)
br                347 3rdparty/libwebp/dec/tree.c                            : (VP8GetBit(br, 163) ? V_PRED : DC_PRED);
br                363 3rdparty/libwebp/dec/tree.c           i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i])];
br                368 3rdparty/libwebp/dec/tree.c         ymode = !VP8GetBit(br, prob[0]) ? B_DC_PRED :
br                369 3rdparty/libwebp/dec/tree.c                   !VP8GetBit(br, prob[1]) ? B_TM_PRED :
br                370 3rdparty/libwebp/dec/tree.c                     !VP8GetBit(br, prob[2]) ? B_VE_PRED :
br                371 3rdparty/libwebp/dec/tree.c                       !VP8GetBit(br, prob[3]) ?
br                372 3rdparty/libwebp/dec/tree.c                         (!VP8GetBit(br, prob[4]) ? B_HE_PRED :
br                373 3rdparty/libwebp/dec/tree.c                           (!VP8GetBit(br, prob[5]) ? B_RD_PRED : B_VR_PRED)) :
br                374 3rdparty/libwebp/dec/tree.c                         (!VP8GetBit(br, prob[6]) ? B_LD_PRED :
br                375 3rdparty/libwebp/dec/tree.c                           (!VP8GetBit(br, prob[7]) ? B_VL_PRED :
br                376 3rdparty/libwebp/dec/tree.c                             (!VP8GetBit(br, prob[8]) ? B_HD_PRED : B_HU_PRED)));
br                385 3rdparty/libwebp/dec/tree.c   dec->uvmode_ = !VP8GetBit(br, 142) ? DC_PRED
br                386 3rdparty/libwebp/dec/tree.c                : !VP8GetBit(br, 114) ? V_PRED
br                387 3rdparty/libwebp/dec/tree.c                : VP8GetBit(br, 183) ? TM_PRED : H_PRED;
br                541 3rdparty/libwebp/dec/tree.c void VP8ParseProba(VP8BitReader* const br, VP8Decoder* const dec) {
br                548 3rdparty/libwebp/dec/tree.c           if (VP8GetBit(br, CoeffsUpdateProba[t][b][c][p])) {
br                549 3rdparty/libwebp/dec/tree.c             proba->coeffs_[t][b][c][p] = VP8GetValue(br, 8);
br                555 3rdparty/libwebp/dec/tree.c   dec->use_skip_proba_ = VP8Get(br);
br                557 3rdparty/libwebp/dec/tree.c     dec->skip_p_ = VP8GetValue(br, 8);
br                562 3rdparty/libwebp/dec/tree.c     dec->intra_p_ = VP8GetValue(br, 8);
br                563 3rdparty/libwebp/dec/tree.c     dec->last_p_ = VP8GetValue(br, 8);
br                564 3rdparty/libwebp/dec/tree.c     dec->golden_p_ = VP8GetValue(br, 8);
br                565 3rdparty/libwebp/dec/tree.c     if (VP8Get(br)) {   // update y-mode
br                567 3rdparty/libwebp/dec/tree.c         proba->ymode_[i] = VP8GetValue(br, 8);
br                570 3rdparty/libwebp/dec/tree.c     if (VP8Get(br)) {   // update uv-mode
br                572 3rdparty/libwebp/dec/tree.c         proba->uvmode_[i] = VP8GetValue(br, 8);
br                579 3rdparty/libwebp/dec/tree.c         if (VP8GetBit(br, MVUpdateProba[i][k])) {
br                580 3rdparty/libwebp/dec/tree.c           const int v = VP8GetValue(br, 7);
br                151 3rdparty/libwebp/dec/vp8.c static int ParseSegmentHeader(VP8BitReader* br,
br                153 3rdparty/libwebp/dec/vp8.c   assert(br != NULL);
br                155 3rdparty/libwebp/dec/vp8.c   hdr->use_segment_ = VP8Get(br);
br                157 3rdparty/libwebp/dec/vp8.c     hdr->update_map_ = VP8Get(br);
br                158 3rdparty/libwebp/dec/vp8.c     if (VP8Get(br)) {   // update data
br                160 3rdparty/libwebp/dec/vp8.c       hdr->absolute_delta_ = VP8Get(br);
br                162 3rdparty/libwebp/dec/vp8.c         hdr->quantizer_[s] = VP8Get(br) ? VP8GetSignedValue(br, 7) : 0;
br                165 3rdparty/libwebp/dec/vp8.c         hdr->filter_strength_[s] = VP8Get(br) ? VP8GetSignedValue(br, 6) : 0;
br                171 3rdparty/libwebp/dec/vp8.c         proba->segments_[s] = VP8Get(br) ? VP8GetValue(br, 8) : 255u;
br                177 3rdparty/libwebp/dec/vp8.c   return !br->eof_;
br                191 3rdparty/libwebp/dec/vp8.c   VP8BitReader* const br = &dec->br_;
br                198 3rdparty/libwebp/dec/vp8.c   dec->num_parts_ = 1 << VP8GetValue(br, 2);
br                219 3rdparty/libwebp/dec/vp8.c static int ParseFilterHeader(VP8BitReader* br, VP8Decoder* const dec) {
br                221 3rdparty/libwebp/dec/vp8.c   hdr->simple_    = VP8Get(br);
br                222 3rdparty/libwebp/dec/vp8.c   hdr->level_     = VP8GetValue(br, 6);
br                223 3rdparty/libwebp/dec/vp8.c   hdr->sharpness_ = VP8GetValue(br, 3);
br                224 3rdparty/libwebp/dec/vp8.c   hdr->use_lf_delta_ = VP8Get(br);
br                226 3rdparty/libwebp/dec/vp8.c     if (VP8Get(br)) {   // update lf-delta?
br                229 3rdparty/libwebp/dec/vp8.c         if (VP8Get(br)) {
br                230 3rdparty/libwebp/dec/vp8.c           hdr->ref_lf_delta_[i] = VP8GetSignedValue(br, 6);
br                234 3rdparty/libwebp/dec/vp8.c         if (VP8Get(br)) {
br                235 3rdparty/libwebp/dec/vp8.c           hdr->mode_lf_delta_[i] = VP8GetSignedValue(br, 6);
br                241 3rdparty/libwebp/dec/vp8.c   return !br->eof_;
br                250 3rdparty/libwebp/dec/vp8.c   VP8BitReader* br;
br                356 3rdparty/libwebp/dec/vp8.c   br = &dec->br_;
br                357 3rdparty/libwebp/dec/vp8.c   VP8InitBitReader(br, buf, buf + frm_hdr->partition_length_);
br                362 3rdparty/libwebp/dec/vp8.c     pic_hdr->colorspace_ = VP8Get(br);
br                363 3rdparty/libwebp/dec/vp8.c     pic_hdr->clamp_type_ = VP8Get(br);
br                365 3rdparty/libwebp/dec/vp8.c   if (!ParseSegmentHeader(br, &dec->segment_hdr_, &dec->proba_)) {
br                370 3rdparty/libwebp/dec/vp8.c   if (!ParseFilterHeader(br, dec)) {
br                386 3rdparty/libwebp/dec/vp8.c     dec->buffer_flags_ = VP8Get(br) << 0;   // update golden
br                387 3rdparty/libwebp/dec/vp8.c     dec->buffer_flags_ |= VP8Get(br) << 1;  // update alt ref
br                389 3rdparty/libwebp/dec/vp8.c       dec->buffer_flags_ |= VP8GetValue(br, 2) << 2;
br                392 3rdparty/libwebp/dec/vp8.c       dec->buffer_flags_ |= VP8GetValue(br, 2) << 4;
br                394 3rdparty/libwebp/dec/vp8.c     dec->buffer_flags_ |= VP8Get(br) << 6;    // sign bias golden
br                395 3rdparty/libwebp/dec/vp8.c     dec->buffer_flags_ |= VP8Get(br) << 7;    // sign bias alt ref
br                406 3rdparty/libwebp/dec/vp8.c   dec->update_proba_ = VP8Get(br);
br                412 3rdparty/libwebp/dec/vp8.c       (frm_hdr->key_frame_ || VP8Get(br)) << 8;    // refresh last frame
br                414 3rdparty/libwebp/dec/vp8.c   VP8Get(br);   // just ignore the value of update_proba_
br                417 3rdparty/libwebp/dec/vp8.c   VP8ParseProba(br, dec);
br                468 3rdparty/libwebp/dec/vp8.c static int GetLargeValue(VP8BitReader* const br, const uint8_t* const p) {
br                470 3rdparty/libwebp/dec/vp8.c   if (!VP8GetBit(br, p[3])) {
br                471 3rdparty/libwebp/dec/vp8.c     if (!VP8GetBit(br, p[4])) {
br                474 3rdparty/libwebp/dec/vp8.c       v = 3 + VP8GetBit(br, p[5]);
br                477 3rdparty/libwebp/dec/vp8.c     if (!VP8GetBit(br, p[6])) {
br                478 3rdparty/libwebp/dec/vp8.c       if (!VP8GetBit(br, p[7])) {
br                479 3rdparty/libwebp/dec/vp8.c         v = 5 + VP8GetBit(br, 159);
br                481 3rdparty/libwebp/dec/vp8.c         v = 7 + 2 * VP8GetBit(br, 165);
br                482 3rdparty/libwebp/dec/vp8.c         v += VP8GetBit(br, 145);
br                486 3rdparty/libwebp/dec/vp8.c       const int bit1 = VP8GetBit(br, p[8]);
br                487 3rdparty/libwebp/dec/vp8.c       const int bit0 = VP8GetBit(br, p[9 + bit1]);
br                491 3rdparty/libwebp/dec/vp8.c         v += v + VP8GetBit(br, *tab);
br                501 3rdparty/libwebp/dec/vp8.c static int GetCoeffs(VP8BitReader* const br, ProbaArray prob,
br                505 3rdparty/libwebp/dec/vp8.c   if (!VP8GetBit(br, p[0])) {   // first EOB is more a 'CBP' bit.
br                510 3rdparty/libwebp/dec/vp8.c     if (!VP8GetBit(br, p[1])) {
br                514 3rdparty/libwebp/dec/vp8.c       if (!VP8GetBit(br, p[2])) {
br                518 3rdparty/libwebp/dec/vp8.c         v = GetLargeValue(br, p);
br                521 3rdparty/libwebp/dec/vp8.c       out[kZigzag[n]] = VP8GetSigned(br, v) * dq[n > 0];
br                522 3rdparty/libwebp/dec/vp8.c       if (n < 15 && !VP8GetBit(br, p[0])) {   // EOB
br                636 3rdparty/libwebp/dec/vp8.c   VP8BitReader* const br = &dec->br_;
br                644 3rdparty/libwebp/dec/vp8.c     dec->segment_ = !VP8GetBit(br, dec->proba_.segments_[0]) ?
br                645 3rdparty/libwebp/dec/vp8.c         VP8GetBit(br, dec->proba_.segments_[1]) :
br                646 3rdparty/libwebp/dec/vp8.c         2 + VP8GetBit(br, dec->proba_.segments_[2]);
br                648 3rdparty/libwebp/dec/vp8.c   info->skip_ = dec->use_skip_proba_ ? VP8GetBit(br, dec->skip_p_) : 0;
br                650 3rdparty/libwebp/dec/vp8.c   VP8ParseIntraMode(br, dec);
br                651 3rdparty/libwebp/dec/vp8.c   if (br->eof_) {
br                298 3rdparty/libwebp/dec/vp8i.h void VP8ParseProba(VP8BitReader* const br, VP8Decoder* const dec);
br                299 3rdparty/libwebp/dec/vp8i.h void VP8ParseIntraMode(VP8BitReader* const br,  VP8Decoder* const dec);
br                 88 3rdparty/libwebp/dec/vp8l.c static int ReadImageInfo(VP8LBitReader* const br,
br                 91 3rdparty/libwebp/dec/vp8l.c   const uint8_t signature = VP8LReadBits(br, 8);
br                 95 3rdparty/libwebp/dec/vp8l.c   *width = VP8LReadBits(br, VP8L_IMAGE_SIZE_BITS) + 1;
br                 96 3rdparty/libwebp/dec/vp8l.c   *height = VP8LReadBits(br, VP8L_IMAGE_SIZE_BITS) + 1;
br                 97 3rdparty/libwebp/dec/vp8l.c   *has_alpha = VP8LReadBits(br, 1);
br                 98 3rdparty/libwebp/dec/vp8l.c   VP8LReadBits(br, VP8L_VERSION_BITS);  // Read/ignore the version number.
br                108 3rdparty/libwebp/dec/vp8l.c     VP8LBitReader br;
br                109 3rdparty/libwebp/dec/vp8l.c     VP8LInitBitReader(&br, data, data_size);
br                110 3rdparty/libwebp/dec/vp8l.c     if (!ReadImageInfo(&br, &w, &h, &a)) {
br                123 3rdparty/libwebp/dec/vp8l.c                                        VP8LBitReader* const br) {
br                130 3rdparty/libwebp/dec/vp8l.c   return offset + VP8LReadBits(br, extra_bits) + 1;
br                134 3rdparty/libwebp/dec/vp8l.c                                      VP8LBitReader* const br) {
br                136 3rdparty/libwebp/dec/vp8l.c   return GetCopyDistance(length_symbol, br);
br                156 3rdparty/libwebp/dec/vp8l.c                                   VP8LBitReader* const br) {
br                159 3rdparty/libwebp/dec/vp8l.c   uint32_t bits = VP8LPrefetchBits(br);
br                166 3rdparty/libwebp/dec/vp8l.c   VP8LDiscardBits(br, num_bits);
br                174 3rdparty/libwebp/dec/vp8l.c   VP8LBitReader* const br = &dec->br_;
br                186 3rdparty/libwebp/dec/vp8l.c   if (VP8LReadBits(br, 1)) {    // use length
br                187 3rdparty/libwebp/dec/vp8l.c     const int length_nbits = 2 + 2 * VP8LReadBits(br, 3);
br                188 3rdparty/libwebp/dec/vp8l.c     max_symbol = 2 + VP8LReadBits(br, length_nbits);
br                201 3rdparty/libwebp/dec/vp8l.c     VP8LFillBitWindow(br);
br                202 3rdparty/libwebp/dec/vp8l.c     code_len = ReadSymbol(&tree, br);
br                211 3rdparty/libwebp/dec/vp8l.c       int repeat = VP8LReadBits(br, extra_bits) + repeat_offset;
br                231 3rdparty/libwebp/dec/vp8l.c   VP8LBitReader* const br = &dec->br_;
br                232 3rdparty/libwebp/dec/vp8l.c   const int simple_code = VP8LReadBits(br, 1);
br                238 3rdparty/libwebp/dec/vp8l.c     const int num_symbols = VP8LReadBits(br, 1) + 1;
br                239 3rdparty/libwebp/dec/vp8l.c     const int first_symbol_len_code = VP8LReadBits(br, 1);
br                241 3rdparty/libwebp/dec/vp8l.c     symbols[0] = VP8LReadBits(br, (first_symbol_len_code == 0) ? 1 : 8);
br                246 3rdparty/libwebp/dec/vp8l.c       symbols[1] = VP8LReadBits(br, 8);
br                256 3rdparty/libwebp/dec/vp8l.c     const int num_codes = VP8LReadBits(br, 4) + 4;
br                270 3rdparty/libwebp/dec/vp8l.c       code_length_code_lengths[kCodeLengthCodeOrder[i]] = VP8LReadBits(br, 3);
br                279 3rdparty/libwebp/dec/vp8l.c   ok = ok && !br->error_;
br                303 3rdparty/libwebp/dec/vp8l.c   VP8LBitReader* const br = &dec->br_;
br                309 3rdparty/libwebp/dec/vp8l.c   if (allow_recursion && VP8LReadBits(br, 1)) {
br                311 3rdparty/libwebp/dec/vp8l.c     const int huffman_precision = VP8LReadBits(br, 3) + 2;
br                331 3rdparty/libwebp/dec/vp8l.c   if (br->error_) goto Error;
br                691 3rdparty/libwebp/dec/vp8l.c   VP8LBitReader* const br = &dec->br_;                                         \
br                703 3rdparty/libwebp/dec/vp8l.c   while (!br->eos_ && src < src_end) {                                         \
br                711 3rdparty/libwebp/dec/vp8l.c     VP8LFillBitWindow(br);                                                     \
br                712 3rdparty/libwebp/dec/vp8l.c     code = ReadSymbol(&htree_group->htrees_[GREEN], br);                       \
br                715 3rdparty/libwebp/dec/vp8l.c       red = ReadSymbol(&htree_group->htrees_[RED], br);                        \
br                717 3rdparty/libwebp/dec/vp8l.c       VP8LFillBitWindow(br);                                                   \
br                718 3rdparty/libwebp/dec/vp8l.c       blue = ReadSymbol(&htree_group->htrees_[BLUE], br);                      \
br                719 3rdparty/libwebp/dec/vp8l.c       alpha = ReadSymbol(&htree_group->htrees_[ALPHA], br);                    \
br                739 3rdparty/libwebp/dec/vp8l.c       const int length = GetCopyLength(length_sym, br);                        \
br                740 3rdparty/libwebp/dec/vp8l.c       const int dist_symbol = ReadSymbol(&htree_group->htrees_[DIST], br);     \
br                741 3rdparty/libwebp/dec/vp8l.c       VP8LFillBitWindow(br);                                                   \
br                742 3rdparty/libwebp/dec/vp8l.c       dist_code = GetCopyDistance(dist_symbol, br);                            \
br                781 3rdparty/libwebp/dec/vp8l.c     ok = !br->error_;                                                          \
br                787 3rdparty/libwebp/dec/vp8l.c   if (br->error_ || !ok || (br->eos_ && src < src_end)) {                      \
br                790 3rdparty/libwebp/dec/vp8l.c         (!br->eos_) ? VP8_STATUS_BITSTREAM_ERROR : VP8_STATUS_SUSPENDED;       \
br                852 3rdparty/libwebp/dec/vp8l.c   VP8LBitReader* const br = &dec->br_;
br                855 3rdparty/libwebp/dec/vp8l.c       (VP8LImageTransformType)VP8LReadBits(br, 2);
br                873 3rdparty/libwebp/dec/vp8l.c       transform->bits_ = VP8LReadBits(br, 3) + 2;
br                881 3rdparty/libwebp/dec/vp8l.c        const int num_colors = VP8LReadBits(br, 8) + 1;
br                974 3rdparty/libwebp/dec/vp8l.c   VP8LBitReader* const br = &dec->br_;
br                981 3rdparty/libwebp/dec/vp8l.c     while (ok && VP8LReadBits(br, 1)) {
br                987 3rdparty/libwebp/dec/vp8l.c   if (ok && VP8LReadBits(br, 1)) {
br                988 3rdparty/libwebp/dec/vp8l.c     color_cache_bits = VP8LReadBits(br, 4);
br               1034 3rdparty/libwebp/dec/vp8l.c   ok = ok && !br->error_;
br                 29 3rdparty/libwebp/utils/bit_reader.c void VP8InitBitReader(VP8BitReader* const br,
br                 31 3rdparty/libwebp/utils/bit_reader.c   assert(br != NULL);
br                 34 3rdparty/libwebp/utils/bit_reader.c   br->range_   = MK(255 - 1);
br                 35 3rdparty/libwebp/utils/bit_reader.c   br->buf_     = start;
br                 36 3rdparty/libwebp/utils/bit_reader.c   br->buf_end_ = end;
br                 37 3rdparty/libwebp/utils/bit_reader.c   br->value_   = 0;
br                 38 3rdparty/libwebp/utils/bit_reader.c   br->bits_    = -8;   // to load the very first 8bits
br                 39 3rdparty/libwebp/utils/bit_reader.c   br->eof_     = 0;
br                 76 3rdparty/libwebp/utils/bit_reader.c void VP8LoadFinalBytes(VP8BitReader* const br) {
br                 77 3rdparty/libwebp/utils/bit_reader.c   assert(br != NULL && br->buf_ != NULL);
br                 79 3rdparty/libwebp/utils/bit_reader.c   if (br->buf_ < br->buf_end_) {
br                 81 3rdparty/libwebp/utils/bit_reader.c     br->value_ |= (bit_t)(*br->buf_++) << ((BITS) - 8 - br->bits_);
br                 83 3rdparty/libwebp/utils/bit_reader.c     br->value_ = (bit_t)(*br->buf_++) | (br->value_ << 8);
br                 85 3rdparty/libwebp/utils/bit_reader.c     br->bits_ += 8;
br                 86 3rdparty/libwebp/utils/bit_reader.c   } else if (!br->eof_) {
br                 90 3rdparty/libwebp/utils/bit_reader.c     br->value_ <<= 8;
br                 91 3rdparty/libwebp/utils/bit_reader.c     br->bits_ += 8;
br                 93 3rdparty/libwebp/utils/bit_reader.c     br->eof_ = 1;
br                100 3rdparty/libwebp/utils/bit_reader.c uint32_t VP8GetValue(VP8BitReader* const br, int bits) {
br                103 3rdparty/libwebp/utils/bit_reader.c     v |= VP8GetBit(br, 0x80) << bits;
br                108 3rdparty/libwebp/utils/bit_reader.c int32_t VP8GetSignedValue(VP8BitReader* const br, int bits) {
br                109 3rdparty/libwebp/utils/bit_reader.c   const int value = VP8GetValue(br, bits);
br                110 3rdparty/libwebp/utils/bit_reader.c   return VP8Get(br) ? -value : value;
br                127 3rdparty/libwebp/utils/bit_reader.c void VP8LInitBitReader(VP8LBitReader* const br,
br                131 3rdparty/libwebp/utils/bit_reader.c   assert(br != NULL);
br                135 3rdparty/libwebp/utils/bit_reader.c   br->buf_ = start;
br                136 3rdparty/libwebp/utils/bit_reader.c   br->len_ = length;
br                137 3rdparty/libwebp/utils/bit_reader.c   br->val_ = 0;
br                138 3rdparty/libwebp/utils/bit_reader.c   br->pos_ = 0;
br                139 3rdparty/libwebp/utils/bit_reader.c   br->bit_pos_ = 0;
br                140 3rdparty/libwebp/utils/bit_reader.c   br->eos_ = 0;
br                141 3rdparty/libwebp/utils/bit_reader.c   br->error_ = 0;
br                142 3rdparty/libwebp/utils/bit_reader.c   for (i = 0; i < sizeof(br->val_) && i < br->len_; ++i) {
br                143 3rdparty/libwebp/utils/bit_reader.c     br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (8 * i);
br                144 3rdparty/libwebp/utils/bit_reader.c     ++br->pos_;
br                148 3rdparty/libwebp/utils/bit_reader.c void VP8LBitReaderSetBuffer(VP8LBitReader* const br,
br                150 3rdparty/libwebp/utils/bit_reader.c   assert(br != NULL);
br                153 3rdparty/libwebp/utils/bit_reader.c   br->eos_ = (br->pos_ >= len);
br                154 3rdparty/libwebp/utils/bit_reader.c   br->buf_ = buf;
br                155 3rdparty/libwebp/utils/bit_reader.c   br->len_ = len;
br                159 3rdparty/libwebp/utils/bit_reader.c static void ShiftBytes(VP8LBitReader* const br) {
br                160 3rdparty/libwebp/utils/bit_reader.c   while (br->bit_pos_ >= 8 && br->pos_ < br->len_) {
br                161 3rdparty/libwebp/utils/bit_reader.c     br->val_ >>= 8;
br                162 3rdparty/libwebp/utils/bit_reader.c     br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (LBITS - 8);
br                163 3rdparty/libwebp/utils/bit_reader.c     ++br->pos_;
br                164 3rdparty/libwebp/utils/bit_reader.c     br->bit_pos_ -= 8;
br                168 3rdparty/libwebp/utils/bit_reader.c void VP8LFillBitWindow(VP8LBitReader* const br) {
br                169 3rdparty/libwebp/utils/bit_reader.c   if (br->bit_pos_ >= WBITS) {
br                171 3rdparty/libwebp/utils/bit_reader.c     if (br->pos_ + sizeof(br->val_) < br->len_) {
br                172 3rdparty/libwebp/utils/bit_reader.c       br->val_ >>= WBITS;
br                173 3rdparty/libwebp/utils/bit_reader.c       br->bit_pos_ -= WBITS;
br                176 3rdparty/libwebp/utils/bit_reader.c       br->val_ |= *(const vp8l_val_t*)(br->buf_ + br->pos_) << (LBITS - WBITS);
br                177 3rdparty/libwebp/utils/bit_reader.c       br->pos_ += LOG8_WBITS;
br                181 3rdparty/libwebp/utils/bit_reader.c     ShiftBytes(br);       // Slow path.
br                182 3rdparty/libwebp/utils/bit_reader.c     if (br->pos_ == br->len_ && br->bit_pos_ == LBITS) {
br                183 3rdparty/libwebp/utils/bit_reader.c       br->eos_ = 1;
br                188 3rdparty/libwebp/utils/bit_reader.c uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits) {
br                191 3rdparty/libwebp/utils/bit_reader.c   if (!br->eos_ && n_bits < MAX_NUM_BIT_READ) {
br                193 3rdparty/libwebp/utils/bit_reader.c         (uint32_t)(br->val_ >> br->bit_pos_) & kBitMask[n_bits];
br                194 3rdparty/libwebp/utils/bit_reader.c     const int new_bits = br->bit_pos_ + n_bits;
br                195 3rdparty/libwebp/utils/bit_reader.c     br->bit_pos_ = new_bits;
br                197 3rdparty/libwebp/utils/bit_reader.c     if (br->pos_ == br->len_) {
br                199 3rdparty/libwebp/utils/bit_reader.c         br->eos_ = 1;
br                202 3rdparty/libwebp/utils/bit_reader.c     ShiftBytes(br);
br                205 3rdparty/libwebp/utils/bit_reader.c     br->error_ = 1;
br                134 3rdparty/libwebp/utils/bit_reader.h void VP8InitBitReader(VP8BitReader* const br,
br                138 3rdparty/libwebp/utils/bit_reader.h uint32_t VP8GetValue(VP8BitReader* const br, int num_bits);
br                139 3rdparty/libwebp/utils/bit_reader.h static WEBP_INLINE uint32_t VP8Get(VP8BitReader* const br) {
br                140 3rdparty/libwebp/utils/bit_reader.h   return VP8GetValue(br, 1);
br                144 3rdparty/libwebp/utils/bit_reader.h int32_t VP8GetSignedValue(VP8BitReader* const br, int num_bits);
br                150 3rdparty/libwebp/utils/bit_reader.h void VP8LoadFinalBytes(VP8BitReader* const br);    // special case for the tail
br                152 3rdparty/libwebp/utils/bit_reader.h static WEBP_INLINE void VP8LoadNewBytes(VP8BitReader* const br) {
br                153 3rdparty/libwebp/utils/bit_reader.h   assert(br != NULL && br->buf_ != NULL);
br                155 3rdparty/libwebp/utils/bit_reader.h   if (br->buf_ + sizeof(lbit_t) <= br->buf_end_) {
br                158 3rdparty/libwebp/utils/bit_reader.h     lbit_t in_bits = *(lbit_t*)br->buf_;
br                159 3rdparty/libwebp/utils/bit_reader.h     br->buf_ += (BITS) >> 3;
br                202 3rdparty/libwebp/utils/bit_reader.h     br->value_ |= bits << (-br->bits_);
br                204 3rdparty/libwebp/utils/bit_reader.h     br->value_ = bits | (br->value_ << (BITS));
br                206 3rdparty/libwebp/utils/bit_reader.h     br->bits_ += (BITS);
br                208 3rdparty/libwebp/utils/bit_reader.h     VP8LoadFinalBytes(br);    // no need to be inlined
br                212 3rdparty/libwebp/utils/bit_reader.h static WEBP_INLINE int VP8BitUpdate(VP8BitReader* const br, range_t split) {
br                213 3rdparty/libwebp/utils/bit_reader.h   if (br->bits_ < 0) {  // Make sure we have a least BITS bits in 'value_'
br                214 3rdparty/libwebp/utils/bit_reader.h     VP8LoadNewBytes(br);
br                218 3rdparty/libwebp/utils/bit_reader.h   if (br->value_ > split) {
br                219 3rdparty/libwebp/utils/bit_reader.h     br->range_ -= split + 1;
br                220 3rdparty/libwebp/utils/bit_reader.h     br->value_ -= split + 1;
br                223 3rdparty/libwebp/utils/bit_reader.h     br->range_ = split;
br                228 3rdparty/libwebp/utils/bit_reader.h     const int pos = br->bits_;
br                229 3rdparty/libwebp/utils/bit_reader.h     const range_t value = (range_t)(br->value_ >> pos);
br                231 3rdparty/libwebp/utils/bit_reader.h       br->range_ -= split + 1;
br                232 3rdparty/libwebp/utils/bit_reader.h       br->value_ -= (bit_t)(split + 1) << pos;
br                235 3rdparty/libwebp/utils/bit_reader.h       br->range_ = split;
br                242 3rdparty/libwebp/utils/bit_reader.h static WEBP_INLINE void VP8Shift(VP8BitReader* const br) {
br                245 3rdparty/libwebp/utils/bit_reader.h   const bit_t idx = br->range_ >> (BITS);
br                247 3rdparty/libwebp/utils/bit_reader.h   br->range_ = kVP8NewRange[idx];
br                248 3rdparty/libwebp/utils/bit_reader.h   br->value_ <<= shift;
br                249 3rdparty/libwebp/utils/bit_reader.h   br->bits_ -= shift;
br                251 3rdparty/libwebp/utils/bit_reader.h   const int shift = kVP8Log2Range[br->range_];
br                252 3rdparty/libwebp/utils/bit_reader.h   assert(br->range_ < (range_t)128);
br                253 3rdparty/libwebp/utils/bit_reader.h   br->range_ = kVP8NewRange[br->range_];
br                254 3rdparty/libwebp/utils/bit_reader.h   br->bits_ -= shift;
br                257 3rdparty/libwebp/utils/bit_reader.h static WEBP_INLINE int VP8GetBit(VP8BitReader* const br, int prob) {
br                262 3rdparty/libwebp/utils/bit_reader.h       (range_t)((uint32_t)(br->range_ >> (BITS)) * prob) << ((BITS) - 8);
br                263 3rdparty/libwebp/utils/bit_reader.h   const int bit = VP8BitUpdate(br, split);
br                264 3rdparty/libwebp/utils/bit_reader.h   if (br->range_ <= (((range_t)0x7e << (BITS)) | (MASK))) {
br                265 3rdparty/libwebp/utils/bit_reader.h     VP8Shift(br);
br                269 3rdparty/libwebp/utils/bit_reader.h   const range_t split = (br->range_ * prob) >> 8;
br                270 3rdparty/libwebp/utils/bit_reader.h   const int bit = VP8BitUpdate(br, split);
br                271 3rdparty/libwebp/utils/bit_reader.h   if (br->range_ <= (range_t)0x7e) {
br                272 3rdparty/libwebp/utils/bit_reader.h     VP8Shift(br);
br                278 3rdparty/libwebp/utils/bit_reader.h static WEBP_INLINE int VP8GetSigned(VP8BitReader* const br, int v) {
br                279 3rdparty/libwebp/utils/bit_reader.h   const range_t split = (br->range_ >> 1);
br                280 3rdparty/libwebp/utils/bit_reader.h   const int bit = VP8BitUpdate(br, split);
br                281 3rdparty/libwebp/utils/bit_reader.h   VP8Shift(br);
br                301 3rdparty/libwebp/utils/bit_reader.h void VP8LInitBitReader(VP8LBitReader* const br,
br                306 3rdparty/libwebp/utils/bit_reader.h void VP8LBitReaderSetBuffer(VP8LBitReader* const br,
br                312 3rdparty/libwebp/utils/bit_reader.h uint32_t VP8LReadBits(VP8LBitReader* const br, int n_bits);
br                315 3rdparty/libwebp/utils/bit_reader.h static WEBP_INLINE uint32_t VP8LPrefetchBits(VP8LBitReader* const br) {
br                316 3rdparty/libwebp/utils/bit_reader.h   return (uint32_t)(br->val_ >> br->bit_pos_);
br                320 3rdparty/libwebp/utils/bit_reader.h static WEBP_INLINE void VP8LDiscardBits(VP8LBitReader* const br, int num_bits) {
br                321 3rdparty/libwebp/utils/bit_reader.h   br->bit_pos_ += num_bits;
br                325 3rdparty/libwebp/utils/bit_reader.h void VP8LFillBitWindow(VP8LBitReader* const br);
br               1033 3rdparty/openexr/Imath/ImathMatrixAlgo.h     Vec3<T> bs, bh, br, bt;
br               1034 3rdparty/openexr/Imath/ImathMatrixAlgo.h     extractSHRT (B, bs, bh, br, bt);
br               1037 3rdparty/openexr/Imath/ImathMatrixAlgo.h         ar = br;
br                122 modules/calib3d/src/five-point.cpp                 const double * br = b + j * 13;
br                123 modules/calib3d/src/five-point.cpp                 bz[j][0] = br[0] * z3 + br[1] * z2 + br[2] * z1 + br[3];
br                124 modules/calib3d/src/five-point.cpp                 bz[j][1] = br[4] * z3 + br[5] * z2 + br[6] * z1 + br[7];
br                125 modules/calib3d/src/five-point.cpp                 bz[j][2] = br[8] * z4 + br[9] * z3 + br[10] * z2 + br[11] * z1 + br[12];
br                390 modules/core/include/opencv2/core/types.hpp     Point_<_Tp> br() const;
br                 29 modules/core/misc/java/test/RectTest.java         p_br = rect.br();
br                 37 modules/core/misc/java/test/RotatedRectTest.java         assertTrue((r.br().x >= Math.ceil(center.x + halfDiagonal)) && (r.br().y >= Math.ceil(center.y + halfDiagonal)));
br                 39 modules/core/misc/java/test/RotatedRectTest.java         assertTrue((r.br().x - Math.ceil(center.x + halfDiagonal)) <= 1 && (r.br().y - Math.ceil(center.y + halfDiagonal)) <= 1);
br                 84 modules/core/src/out.cpp         FormattedImpl(String pl, String el, Mat m, char br[5], bool sLine, bool aOrder, int precision)
br                 92 modules/core/src/out.cpp             memcpy(braces, br, 5);
br                587 modules/imgproc/misc/java/test/ImgprocTest.java         Imgproc.rectangle(img, r.tl(), r.br(), new Scalar(0), Core.FILLED);
br               1732 modules/imgproc/src/drawing.cpp         rectangle( img, rec.tl(), rec.br() - Point(1<<shift,1<<shift),
br                430 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java         BufferedReader br = new BufferedReader(new FileReader(path));
br                433 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java         while ((line = br.readLine()) != null) {
br                460 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java         BufferedReader br = new BufferedReader(new FileReader(path));
br                463 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java         while ((line = br.readLine()) != null) {
br                327 modules/objdetect/src/cascadedetect.cpp         hitCenter = (rectList[i].tl() + rectList[i].br())*(0.5); //center of rectangles
br                937 modules/objdetect/src/detection_based_tracker.cpp             Point br(lastPositions[k].br());
br                942 modules/objdetect/src/detection_based_tracker.cpp             c2=br;
br                953 modules/objdetect/src/detection_based_tracker.cpp         Point br(lastPositions[k].br());
br                958 modules/objdetect/src/detection_based_tracker.cpp         c2=br;
br                289 modules/stitching/src/blenders.cpp     Point br_new(std::min(dst_roi_.br().x, tl.x + img.cols + gap),
br                290 modules/stitching/src/blenders.cpp                  std::min(dst_roi_.br().y, tl.y + img.rows + gap));
br                305 modules/stitching/src/blenders.cpp     int dy = std::max(br_new.y - dst_roi_.br().y, 0);
br                306 modules/stitching/src/blenders.cpp     int dx = std::max(br_new.x - dst_roi_.br().x, 0);
br                 96 modules/stitching/src/exposure_compensate.cpp                 subimg1 = images[i](Rect(roi.tl() - corners[i], roi.br() - corners[i])).getMat(ACCESS_READ);
br                 97 modules/stitching/src/exposure_compensate.cpp                 subimg2 = images[j](Rect(roi.tl() - corners[j], roi.br() - corners[j])).getMat(ACCESS_READ);
br                 99 modules/stitching/src/exposure_compensate.cpp                 submask1 = masks[i].first(Rect(roi.tl() - corners[i], roi.br() - corners[i])).getMat(ACCESS_READ);
br                100 modules/stitching/src/exposure_compensate.cpp                 submask2 = masks[j].first(Rect(roi.tl() - corners[j], roi.br() - corners[j])).getMat(ACCESS_READ);
br                742 modules/stitching/src/seam_finders.cpp     for (int y = roi.y; y < roi.br().y; ++y)
br                744 modules/stitching/src/seam_finders.cpp         for (int x = roi.x; x < roi.br().x+1; ++x)
br                766 modules/stitching/src/seam_finders.cpp     for (int y = roi.y; y < roi.br().y+1; ++y)
br                768 modules/stitching/src/seam_finders.cpp         for (int x = roi.x; x < roi.br().x; ++x)
br                437 modules/stitching/src/stitcher.cpp                 Point br(cvRound(rois_[i][j].br().x * work_scale_), cvRound(rois_[i][j].br().y * work_scale_));
br                438 modules/stitching/src/stitcher.cpp                 rois[j] = Rect(tl, br);
br                129 modules/stitching/src/util.cpp     Point br(std::numeric_limits<int>::min(), std::numeric_limits<int>::min());
br                134 modules/stitching/src/util.cpp         br.x = std::max(br.x, corners[i].x + sizes[i].width);
br                135 modules/stitching/src/util.cpp         br.y = std::max(br.y, corners[i].y + sizes[i].height);
br                137 modules/stitching/src/util.cpp     return Rect(tl, br);
br                144 modules/stitching/src/util.cpp     Point br(std::numeric_limits<int>::max(), std::numeric_limits<int>::max());
br                149 modules/stitching/src/util.cpp         br.x = std::min(br.x, corners[i].x + sizes[i].width);
br                150 modules/stitching/src/util.cpp         br.y = std::min(br.y, corners[i].y + sizes[i].height);
br                152 modules/stitching/src/util.cpp     return Rect(tl, br);
br                 65 modules/stitching/test/test_matchers.cpp         if (pt.x >= rois[0].x && pt.y >= rois[0].y && pt.x <= rois[0].br().x && pt.y <= rois[0].br().y)
br                 67 modules/stitching/test/test_matchers.cpp         else if (pt.x >= rois[1].x && pt.y >= rois[1].y && pt.x <= rois[1].br().x && pt.y <= rois[1].br().y)
br                197 samples/android/face-detection/src/org/opencv/samples/facedetect/FdActivity.java             Imgproc.rectangle(mRgba, facesArray[i].tl(), facesArray[i].br(), FACE_RECT_COLOR, 3);
br                 23 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp cv::Point2d br( -122.3715,   37.746814 );
br                135 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp     cv::Point2d rightSide = lerp(tr, br, ry);
br                 82 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp        rectangle( drawing, boundRect[i].tl(), boundRect[i].br(), color, 2, 8, 0 );
br                338 samples/gpu/hog.cpp                 rectangle(img_to_show, r.tl(), r.br(), Scalar(0, 255, 0), 3);
br                225 samples/tapi/hog.cpp                 rectangle(img_to_show, r.tl(), r.br(), Scalar(0, 255, 0), 3);