AV_RB16 52 libavcodec/aac_adtstoasc_bsf.c if (bsfc->par_in->extradata && pkt->size >= 2 && (AV_RB16(pkt->data) >> 4) != 0xfff) AV_RB16 1500 libavcodec/ac3dec.c if (buf_size >= 2 && AV_RB16(buf) == 0x770B) { AV_RB16 46 libavcodec/adx.c if (AV_RB16(buf) != 0x8000) AV_RB16 48 libavcodec/adx.c offset = AV_RB16(buf + 2) + 4; AV_RB16 76 libavcodec/adx.c cutoff = AV_RB16(buf + 16); AV_RB16 70 libavcodec/adxdec.c int scale = AV_RB16(in); AV_RB16 112 libavcodec/adxdec.c if (!c->header_parsed && buf_size >= 2 && AV_RB16(buf) == 0x8000) { AV_RB16 135 libavcodec/adxdec.c if (buf_size >= 4 && (AV_RB16(buf) & 0x8000)) { AV_RB16 173 libavcodec/aic.c width = AV_RB16(src + 6); AV_RB16 174 libavcodec/aic.c height = AV_RB16(src + 8); AV_RB16 123 libavcodec/aptxdec.c AV_RB16(input + 2*channel)); AV_RB16 77 libavcodec/bitstream.c put_bits(pb, 16, AV_RB16(src + 2 * i)); AV_RB16 86 libavcodec/bitstream.c put_bits(pb, bits, AV_RB16(src + 2 * words) >> (16 - bits)); AV_RB16 94 libavcodec/bytestream.h DEF(unsigned int, be16, 2, AV_RB16, AV_WB16) AV_RB16 174 libavcodec/cbs_jpeg.c length = AV_RB16(frag->data + i); AV_RB16 198 libavcodec/cbs_jpeg.c length = AV_RB16(frag->data + start); AV_RB16 433 libavcodec/cbs_jpeg.c sp = AV_RB16(unit->data); AV_RB16 71 libavcodec/cdxl.c unsigned rgb = AV_RB16(&c->palette[i * 2]); AV_RB16 251 libavcodec/cdxl.c w = AV_RB16(&buf[14]); AV_RB16 252 libavcodec/cdxl.c h = AV_RB16(&buf[16]); AV_RB16 254 libavcodec/cdxl.c c->palette_size = AV_RB16(&buf[20]); AV_RB16 323 libavcodec/cinepak.c num_strips = AV_RB16 (&s->data[8]); AV_RB16 376 libavcodec/cinepak.c num_strips = AV_RB16 (&s->data[8]); AV_RB16 390 libavcodec/cinepak.c if (!(s->strips[i].y1 = AV_RB16 (&s->data[4]))) AV_RB16 391 libavcodec/cinepak.c s->strips[i].y2 = (s->strips[i].y1 = y0) + AV_RB16 (&s->data[8]); AV_RB16 393 libavcodec/cinepak.c s->strips[i].y2 = AV_RB16 (&s->data[8]); AV_RB16 394 libavcodec/cinepak.c s->strips[i].x1 = AV_RB16 (&s->data[6]); AV_RB16 395 libavcodec/cinepak.c s->strips[i].x2 = AV_RB16 (&s->data[10]); AV_RB16 465 libavcodec/cinepak.c num_strips = AV_RB16 (&s->data[8]); AV_RB16 45 libavcodec/cook_parser.c s->duration = AV_RB16(avctx->extradata + 4) / avctx->channels; AV_RB16 81 libavcodec/dca.c tmp = ((mrk == DCA_SYNCWORD_CORE_14B_BE) ? AV_RB16(src) : AV_RL16(src)) & 0x3FFF; AV_RB16 199 libavcodec/dnxhddec.c ctx->height = AV_RB16(buf + 0x18); AV_RB16 200 libavcodec/dnxhddec.c ctx->width = AV_RB16(buf + 0x1a); AV_RB16 287 libavcodec/dnxhddec.c ctx->mb_height = AV_RB16(buf + 0x16c); AV_RB16 72 libavcodec/dolby_e.c AV_WB16(dst, AV_RB16(src) ^ key); AV_RB16 34 libavcodec/dpx.c temp = AV_RB16(*ptr); AV_RB16 104 libavcodec/dpxenc.c value = ((AV_RB16(src + 6*x + 4) & 0xFFC0U) >> 4) AV_RB16 105 libavcodec/dpxenc.c | ((AV_RB16(src + 6*x + 2) & 0xFFC0U) << 6) AV_RB16 106 libavcodec/dpxenc.c | ((AV_RB16(src + 6*x + 0) & 0xFFC0U) << 16); AV_RB16 129 libavcodec/dpxenc.c value = (AV_RB16(src[0] + 2*x) << 12) AV_RB16 130 libavcodec/dpxenc.c | (AV_RB16(src[1] + 2*x) << 2) AV_RB16 131 libavcodec/dpxenc.c | ((unsigned)AV_RB16(src[2] + 2*x) << 22); AV_RB16 158 libavcodec/dpxenc.c value[1] = AV_RB16(src[0] + x) << 4; AV_RB16 159 libavcodec/dpxenc.c value[2] = AV_RB16(src[1] + x) << 4; AV_RB16 160 libavcodec/dpxenc.c value[0] = AV_RB16(src[2] + x) << 4; AV_RB16 114 libavcodec/dvaudiodec.c *dst++ = AV_RB16(&v[0]); AV_RB16 115 libavcodec/dvaudiodec.c *dst++ = AV_RB16(&v[s->is_pal ? 4320 : 3600]); AV_RB16 135 libavcodec/dvbsub_parser.c len = AV_RB16(p + 4); AV_RB16 271 libavcodec/dvbsubdec.c ctx->composition_id = AV_RB16(avctx->extradata + 5*ctx->substream); AV_RB16 272 libavcodec/dvbsubdec.c ctx->ancillary_id = AV_RB16(avctx->extradata + 5*ctx->substream + 2); AV_RB16 275 libavcodec/dvbsubdec.c ctx->composition_id = AV_RB16(avctx->extradata); AV_RB16 276 libavcodec/dvbsubdec.c ctx->ancillary_id = AV_RB16(avctx->extradata + 2); AV_RB16 998 libavcodec/dvbsubdec.c object_id = AV_RB16(buf); AV_RB16 1010 libavcodec/dvbsubdec.c top_field_len = AV_RB16(buf); AV_RB16 1012 libavcodec/dvbsubdec.c bottom_field_len = AV_RB16(buf); AV_RB16 1180 libavcodec/dvbsubdec.c region->width = AV_RB16(buf); AV_RB16 1182 libavcodec/dvbsubdec.c region->height = AV_RB16(buf); AV_RB16 1241 libavcodec/dvbsubdec.c object_id = AV_RB16(buf); AV_RB16 1265 libavcodec/dvbsubdec.c display->x_pos = AV_RB16(buf) & 0xfff; AV_RB16 1267 libavcodec/dvbsubdec.c display->y_pos = AV_RB16(buf) & 0xfff; AV_RB16 1362 libavcodec/dvbsubdec.c display->x_pos = AV_RB16(buf); AV_RB16 1364 libavcodec/dvbsubdec.c display->y_pos = AV_RB16(buf); AV_RB16 1651 libavcodec/dvbsubdec.c page_id = AV_RB16(p); AV_RB16 1653 libavcodec/dvbsubdec.c segment_length = AV_RB16(p); AV_RB16 51 libavcodec/dvdsub_parser.c if (buf_size < 2 || AV_RB16(buf) && buf_size < 6) { AV_RB16 56 libavcodec/dvdsub_parser.c pc->packet_len = AV_RB16(buf); AV_RB16 218 libavcodec/dvdsubdec.c #define READ_OFFSET(a) (big_offsets ? AV_RB32(a) : AV_RB16(a)) AV_RB16 236 libavcodec/dvdsubdec.c if (AV_RB16(buf) == 0) { /* HD subpicture with 4-byte offsets */ AV_RB16 258 libavcodec/dvdsubdec.c date = AV_RB16(buf + cmd_pos); AV_RB16 319 libavcodec/dvdsubdec.c offset1 = AV_RB16(buf + pos); AV_RB16 320 libavcodec/dvdsubdec.c offset2 = AV_RB16(buf + pos + 2); AV_RB16 103 libavcodec/dxa.c mask = AV_RB16(msk); AV_RB16 173 libavcodec/dxa.c mask = AV_RB16(msk); AV_RB16 102 libavcodec/eatgv.c offset = ((src[0] & 0x10) << 12) + AV_RB16(&src[1]) + 1; AV_RB16 108 libavcodec/eatgv.c offset = (AV_RB16(&src[1]) & 0x3FFF) + 1; AV_RB16 256 libavcodec/elsdec.c ctx->x = AV_RB16(in); AV_RB16 87 libavcodec/fitsdec.c CASE_N(16, t16, AV_RB16(ptr8)); AV_RB16 264 libavcodec/fitsdec.c CASE_RGB(16, dst16, uint16_t, AV_RB16); AV_RB16 294 libavcodec/fitsdec.c CASE_GRAY(16, dst16, uint16_t, t16, AV_RB16(ptr8)); AV_RB16 95 libavcodec/fitsenc.c bytestream_put_be16(&bytestream, AV_RB16(ptr) ^ flip); AV_RB16 211 libavcodec/flac_parser.c if ((AV_RB16(buf + i) & 0xFFFE) == 0xFFF8) { AV_RB16 221 libavcodec/flac_parser.c if ((AV_RB16(buf + i + j) & 0xFFFE) == 0xFFF8) { AV_RB16 256 libavcodec/flac_parser.c if ((AV_RB16(wrap) & 0xFFFE) == 0xFFF8) { AV_RB16 85 libavcodec/flashsv.c unsigned c = AV_RB16(sptr) & ~0x8000; AV_RB16 486 libavcodec/h264_parse.c nalsize = AV_RB16(p) + 2; AV_RB16 500 libavcodec/h264_parse.c nalsize = AV_RB16(p) + 2; AV_RB16 882 libavcodec/h264dec.c int nalsize= AV_RB16(p) + 2; AV_RB16 891 libavcodec/h264dec.c int nalsize= AV_RB16(p) + 2; AV_RB16 54 libavcodec/hcom.c s->dict_entries = AV_RB16(avctx->extradata); AV_RB16 65 libavcodec/hcom.c s->dict[i].l = AV_RB16(avctx->extradata + 6 + 4 * i); AV_RB16 66 libavcodec/hcom.c s->dict[i].r = AV_RB16(avctx->extradata + 6 + 4 * i + 2); AV_RB16 452 libavcodec/hqx.c ctx->width = AV_RB16(src + 4); AV_RB16 453 libavcodec/hqx.c ctx->height = AV_RB16(src + 6); AV_RB16 157 libavcodec/iff.c const uint8_t *const palette = avctx->extradata + AV_RB16(avctx->extradata); AV_RB16 158 libavcodec/iff.c int palette_size = avctx->extradata_size - AV_RB16(avctx->extradata); AV_RB16 216 libavcodec/iff.c palette_size = avctx->extradata_size - AV_RB16(avctx->extradata); AV_RB16 334 libavcodec/iff.c const uint8_t *const palette = avctx->extradata + AV_RB16(avctx->extradata); AV_RB16 408 libavcodec/iff.c palette_size = avctx->extradata_size - AV_RB16(avctx->extradata); AV_RB16 65 libavcodec/lagarithrac.h l->low |= 0xff & (AV_RB16(l->bytestream) >> 1); AV_RB16 96 libavcodec/mjpeg2jpeg_bsf.c if (AV_RB16(in->data) != 0xffd8) { AV_RB16 76 libavcodec/mjpega_dump_header_bsf.c bytestream_put_be32(&out_buf, i + 46 + AV_RB16(in->data + i + 2)); /* data off */ AV_RB16 1152 libavcodec/mlpdec.c length = (AV_RB16(buf) & 0xfff) * 2; AV_RB16 78 libavcodec/movsub_bsf.c pkt->size = FFMIN(pkt->size - 2, AV_RB16(pkt->data)); AV_RB16 205 libavcodec/movtextdec.c m->d.fontID = AV_RB16(tx3g_ptr); AV_RB16 225 libavcodec/movtextdec.c m->ftab_entries = AV_RB16(tx3g_ptr); AV_RB16 241 libavcodec/movtextdec.c m->ftab_temp->fontID = AV_RB16(tx3g_ptr); AV_RB16 285 libavcodec/movtextdec.c m->h.hlit_start = AV_RB16(tsmb); AV_RB16 287 libavcodec/movtextdec.c m->h.hlit_end = AV_RB16(tsmb); AV_RB16 303 libavcodec/movtextdec.c int style_entries = AV_RB16(tsmb); AV_RB16 318 libavcodec/movtextdec.c m->s_temp->style_start = AV_RB16(tsmb); AV_RB16 320 libavcodec/movtextdec.c m->s_temp->style_end = AV_RB16(tsmb); AV_RB16 330 libavcodec/movtextdec.c m->s_temp->style_fontID = AV_RB16(tsmb); AV_RB16 530 libavcodec/movtextdec.c return AV_RB16(ptr) == 0 ? 0 : AVERROR_INVALIDDATA; AV_RB16 537 libavcodec/movtextdec.c text_length = AV_RB16(ptr); AV_RB16 119 libavcodec/movtextenc.c style_entries = AV_RB16(&s->count); AV_RB16 129 libavcodec/movtextenc.c style_start = AV_RB16(&s->style_attributes[j]->style_start); AV_RB16 130 libavcodec/movtextenc.c style_end = AV_RB16(&s->style_attributes[j]->style_end); AV_RB16 132 libavcodec/movtextenc.c style_fontID = AV_RB16(&s->style_attributes[j]->style_fontID); AV_RB16 152 libavcodec/movtextenc.c start = AV_RB16(&s->hlit.start); AV_RB16 153 libavcodec/movtextenc.c end = AV_RB16(&s->hlit.end); AV_RB16 279 libavcodec/movtextenc.c style_start = AV_RB16(&s->d.style_start); AV_RB16 280 libavcodec/movtextenc.c style_end = AV_RB16(&s->d.style_end); AV_RB16 281 libavcodec/movtextenc.c fontID = AV_RB16(&s->d.style_fontID); AV_RB16 320 libavcodec/movtextenc.c count = AV_RB16(&s->font_count); AV_RB16 328 libavcodec/movtextenc.c fontID = AV_RB16(&fontID); AV_RB16 1958 libavcodec/mpegaudiodec_template.c fsize = AV_RB16(buf) >> 4; AV_RB16 600 libavcodec/mss2.c c->mvX = AV_RB16(buf - 4) - avctx->width; AV_RB16 601 libavcodec/mss2.c c->mvY = AV_RB16(buf - 2) - avctx->height; AV_RB16 85 libavcodec/mxpegdec.c len = AV_RB16(buf_ptr); AV_RB16 150 libavcodec/mxpegdec.c len = AV_RB16(buf_ptr); AV_RB16 103 libavcodec/opus_parser.c hdr = AV_RB16(buf); AV_RB16 34 libavcodec/pnmdec.c ((uint16_t *)dst)[i] = AV_RB16(src+2*i); AV_RB16 176 libavcodec/pnmdec.c v = AV_RB16(s->bytestream + 2*j); AV_RB16 230 libavcodec/pnmdec.c v = AV_RB16(s->bytestream + 2*j); AV_RB16 242 libavcodec/pnmdec.c v = AV_RB16(s->bytestream + 2*j); AV_RB16 248 libavcodec/pnmdec.c v = AV_RB16(s->bytestream + 2*j); AV_RB16 74 libavcodec/prores_metadata_bsf.c if (AV_RB16(buf + 8) < 28) { AV_RB16 206 libavcodec/proresdec2.c hdr_size = AV_RB16(buf); AV_RB16 213 libavcodec/proresdec2.c version = AV_RB16(buf + 2); AV_RB16 220 libavcodec/proresdec2.c width = AV_RB16(buf + 8); AV_RB16 221 libavcodec/proresdec2.c height = AV_RB16(buf + 10); AV_RB16 367 libavcodec/proresdec2.c data_ptr += AV_RB16(index_ptr + i*2); AV_RB16 640 libavcodec/proresdec2.c y_data_size = AV_RB16(buf + 2); AV_RB16 641 libavcodec/proresdec2.c u_data_size = AV_RB16(buf + 4); AV_RB16 643 libavcodec/proresdec2.c if (hdr_size > 7) v_data_size = AV_RB16(buf + 6); AV_RB16 496 libavcodec/psd.c int64_t k = AV_RB16(&src[3][x * 2]); AV_RB16 497 libavcodec/psd.c int64_t r = AV_RB16(&src[0][x * 2]) * k; AV_RB16 498 libavcodec/psd.c int64_t g = AV_RB16(&src[1][x * 2]) * k; AV_RB16 499 libavcodec/psd.c int64_t b = AV_RB16(&src[2][x * 2]) * k; AV_RB16 711 libavcodec/qcelpdec.c (q->first16bits = AV_RB16(buf)) == 0xFFFF) { AV_RB16 274 libavcodec/qdrw.c w = AV_RB16(buf+6); AV_RB16 275 libavcodec/qdrw.c h = AV_RB16(buf+8); AV_RB16 276 libavcodec/qdrw.c v0 = AV_RB16(buf+10); AV_RB16 277 libavcodec/qdrw.c v1 = AV_RB16(buf+12); AV_RB16 138 libavcodec/ralf.c ctx->version = AV_RB16(avctx->extradata + 4); AV_RB16 144 libavcodec/ralf.c avctx->channels = AV_RB16(avctx->extradata + 8); AV_RB16 440 libavcodec/ralf.c table_bytes = (AV_RB16(avpkt->data) + 7) >> 3; AV_RB16 476 libavcodec/ralf.c table_size = AV_RB16(src); AV_RB16 59 libavcodec/rangecoder.c c->low = AV_RB16(c->bytestream); AV_RB16 167 libavcodec/rawdec.c MKSCALE16(scale16be, AV_RB16, AV_WB16) AV_RB16 69 libavcodec/sgienc.c val = bpp == 1 ? *src : AV_RB16(src); AV_RB16 81 libavcodec/sgienc.c val = bpp == 1 ? src[i] : AV_RB16(src + i * bpp); AV_RB16 2045 libavcodec/tiff.c AV_WB16(dst + j, AV_RB16(dst + j) + AV_RB16(dst + j - soff)); AV_RB16 2092 libavcodec/tiff.c uint64_t k = 65535 - AV_RB16(dst + 8 * j + 6); AV_RB16 2093 libavcodec/tiff.c uint64_t r = (65535 - AV_RB16(dst + 8 * j )) * k; AV_RB16 2094 libavcodec/tiff.c uint64_t g = (65535 - AV_RB16(dst + 8 * j + 2)) * k; AV_RB16 2095 libavcodec/tiff.c uint64_t b = (65535 - AV_RB16(dst + 8 * j + 4)) * k; AV_RB16 268 libavcodec/tiff_common.c if (*le == AV_RB16("II")) { AV_RB16 270 libavcodec/tiff_common.c } else if (*le == AV_RB16("MM")) { AV_RB16 57 libavcodec/truehd_core_bsf.c in_size = (AV_RB16(pkt->data) & 0xFFF) * 2; AV_RB16 99 libavcodec/truehd_core_bsf.c uint16_t parity_nibble, dts = AV_RB16(pkt->data + 2); AV_RB16 71 libavcodec/vp6.c coeff_offset = AV_RB16(buf+2) - 2; AV_RB16 124 libavcodec/vp6.c coeff_offset = AV_RB16(buf+1) - 2; AV_RB16 30 libavcodec/xiph.c if (extradata_size >= 6 && AV_RB16(extradata) == first_header_size) { AV_RB16 33 libavcodec/xiph.c header_len[i] = AV_RB16(extradata); AV_RB16 373 libavfilter/vf_curves.c dst = AV_RB16(buf); \ AV_RB16 202 libavfilter/vf_selectivecolor.c dst = AV_RB16(buf); \ AV_RB16 79 libavfilter/vf_super2xsai.c #define READ_COLOR2(dst, src_line, off) dst = s->is_be ? AV_RB16(src_line + 2 * off) : AV_RL16(src_line + 2 * off) AV_RB16 49 libavformat/aacdec.c uint32_t header = AV_RB16(buf2); AV_RB16 179 libavformat/aacdec.c if ((AV_RB16(pkt->data) >> 4) != 0xfff) { AV_RB16 40 libavformat/adxdec.c if (AV_RB16(p->buf) != 0x8000) AV_RB16 42 libavformat/adxdec.c offset = AV_RB16(&p->buf[2]); AV_RB16 70 libavformat/adxdec.c if (AV_RB16(pkt->data) & 0x8000) { AV_RB16 187 libavformat/apngenc.c delay.num = AV_RB16(existing_fcTL_chunk + 20); AV_RB16 188 libavformat/apngenc.c delay.den = AV_RB16(existing_fcTL_chunk + 22); AV_RB16 33 libavformat/astdec.c if (!AV_RB16(p->buf + 10) || AV_RB16 34 libavformat/astdec.c !AV_RB16(p->buf + 12) || AV_RB16(p->buf + 12) > 256 || AV_RB16 233 libavformat/avc.c sps_size = AV_RB16(&in[6]); AV_RB16 236 libavformat/avc.c pps_size = AV_RB16(&in[9 + sps_size]); AV_RB16 32 libavformat/avr.c if (!AV_RB16(p->buf+12) || AV_RB16(p->buf+12) > 256) // channels AV_RB16 34 libavformat/avr.c if (AV_RB16(p->buf+14) > 256) // bps AV_RB16 53 libavformat/cafdec.c if (AV_RB32(p->buf) == MKBETAG('c','a','f','f') && AV_RB16(&p->buf[4]) == 1) AV_RB16 59 libavformat/cdxl.c if (AV_RB16(&p->buf[20]) > 512) AV_RB16 71 libavformat/cdxl.c if (AV_RB32(&p->buf[2]) < AV_RB16(&p->buf[22]) + AV_RB16(&p->buf[20]) + CDXL_HEADER_SIZE) AV_RB16 79 libavformat/cdxl.c if (AV_RB16(&p->buf[12]) != 1) AV_RB16 130 libavformat/cdxl.c width = AV_RB16(&cdxl->header[14]); AV_RB16 131 libavformat/cdxl.c height = AV_RB16(&cdxl->header[16]); AV_RB16 132 libavformat/cdxl.c palette_size = AV_RB16(&cdxl->header[20]); AV_RB16 133 libavformat/cdxl.c audio_size = AV_RB16(&cdxl->header[22]); AV_RB16 407 libavformat/dashenc.c aot = ((AV_RB16(par->extradata) >> 5) & 0x3f) + 32; AV_RB16 35 libavformat/dnxhddec.c h = AV_RB16(p->buf + 0x18); AV_RB16 36 libavformat/dnxhddec.c w = AV_RB16(p->buf + 0x1a); AV_RB16 45 libavformat/dvbsub.c len = AV_RB16(ptr + 4); AV_RB16 45 libavformat/dxa.c w = AV_RB16(p->buf + 11); AV_RB16 46 libavformat/dxa.c h = AV_RB16(p->buf + 13); AV_RB16 234 libavformat/flacdec.c if ((AV_RB16(p->buf) & 0xFFFE) == 0xFFF8) AV_RB16 241 libavformat/flacdec.c int min_block_size = AV_RB16(p->buf + 8); AV_RB16 242 libavformat/flacdec.c int max_block_size = AV_RB16(p->buf + 10); AV_RB16 970 libavformat/flvenc.c (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) { AV_RB16 1092 libavformat/flvenc.c if (pkt->size > 2 && (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) AV_RB16 35 libavformat/h261dec.c if ((AV_RB16(&p->buf[i]) - 1) < 0xFFU) { AV_RB16 674 libavformat/img2dec.c if (AV_RB16(b) != 0x424d) AV_RB16 740 libavformat/img2dec.c if (AV_RB16(b) != 0xFFD8 || AV_RB16 760 libavformat/img2dec.c i += AV_RB16(&b[i + 2]) + 1; AV_RB16 766 libavformat/img2dec.c i += AV_RB16(&b[i + 2]) + 1; AV_RB16 794 libavformat/img2dec.c i += AV_RB16(&b[i + 2]) + 1; AV_RB16 846 libavformat/img2dec.c && AV_RB16(b + 520) AV_RB16 847 libavformat/img2dec.c && AV_RB16(b + 518)) AV_RB16 850 libavformat/img2dec.c && AV_RB16(b + 8) AV_RB16 851 libavformat/img2dec.c && AV_RB16(b + 6)) AV_RB16 895 libavformat/img2dec.c color_mode = AV_RB16(b+24); AV_RB16 906 libavformat/img2dec.c if (AV_RB16(b) == 474 && AV_RB16 909 libavformat/img2dec.c (AV_RB16(b + 4) & ~7) == 0 && AV_RB16(b + 4)) AV_RB16 31 libavformat/ingenientdec.c || AV_RB16(p->buf + 48) != 0xffd8) AV_RB16 164 libavformat/latmenc.c (AV_RB16(pkt->data + 1) & 0x1FFF) + 3 == pkt->size) AV_RB16 241 libavformat/latmenc.c if (pkt->size > 2 && (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) AV_RB16 43 libavformat/lmlm4.c frame_type = AV_RB16(buf + 2); AV_RB16 46 libavformat/lmlm4.c if (!AV_RB16(buf) && frame_type <= LMLM4_MPEG1L2 && packet_size && AV_RB16 49 libavformat/lmlm4.c if ((AV_RB16(buf + 8) & 0xfffe) != 0xfffc) AV_RB16 2474 libavformat/matroskadec.c sample_size = AV_RB16(track->codec_priv.data + 26); AV_RB16 2502 libavformat/matroskadec.c bit_depth = AV_RB16(track->codec_priv.data + 82); AV_RB16 3574 libavformat/matroskadec.c block_time = sign_extend(AV_RB16(data), 16); AV_RB16 2743 libavformat/matroskaenc.c if (pkt->size > 2 && (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) AV_RB16 35 libavformat/mj2kdec.c marker_size = AV_RB16(b+4); AV_RB16 42 libavformat/mlpdec.c size = (AV_RB16(buf) & 0xfff) * 2; AV_RB16 45 libavformat/mlpdec.c size += (AV_RB16(buf) & 0xfff) * 2; AV_RB16 1745 libavformat/mov.c par->height = AV_RB16(&par->extradata[36]); AV_RB16 1746 libavformat/mov.c par->width = AV_RB16(&par->extradata[38]); AV_RB16 2344 libavformat/mov.c uint16_t str_size = AV_RB16(st->codecpar->extradata + 26); /* string length */ AV_RB16 6753 libavformat/mov.c pre_skip = AV_RB16(st->codecpar->extradata + 10); AV_RB16 6756 libavformat/mov.c AV_WL16(st->codecpar->extradata + 16, AV_RB16(st->codecpar->extradata + 16)); AV_RB16 789 libavformat/movenc.c length = (AV_RB16(track->vos_data) & 0xFFF) * 2; AV_RB16 798 libavformat/movenc.c avio_wb16(pb, AV_RB16(track->vos_data + 18) << 1); /* peak_data_rate */ AV_RB16 5128 libavformat/movenc.c length = (AV_RB16(pkt->data) & 0xFFF) * 2; AV_RB16 5525 libavformat/movenc.c (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) { AV_RB16 6983 libavformat/movenc.c if (pkt->size > 2 && (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) AV_RB16 347 libavformat/movenchint.c seq = AV_RB16(&data[2]); AV_RB16 70 libavformat/mpeg.h (AV_RB16(buf+1) >> 1) << 15 | AV_RB16 71 libavformat/mpeg.h AV_RB16(buf+3) >> 1; AV_RB16 442 libavformat/mpegts.c len = (AV_RB16(cur_section_buf + 1) & 0xfff) + 3; AV_RB16 584 libavformat/mpegts.c int pid = AV_RB16(buf+1) & 0x1FFF; AV_RB16 678 libavformat/mpegts.c c = AV_RB16(p); AV_RB16 1183 libavformat/mpegts.c pes->total_size = AV_RB16(pes->header + 4); AV_RB16 2708 libavformat/mpegts.c pid = AV_RB16(packet + 1) & 0x1fff; AV_RB16 3109 libavformat/mpegts.c pid = AV_RB16(data + 1) & 0x1fff; AV_RB16 3272 libavformat/mpegts.c if ((pcr_pid < 0 || (AV_RB16(buf + 1) & 0x1fff) == pcr_pid) && AV_RB16 1711 libavformat/mpegtsenc.c if ((AV_RB16(pkt->data) & 0xfff0) != 0xfff0) { AV_RB16 1780 libavformat/mpegtsenc.c if ((AV_RB16(pkt->data) >> 5) != 0x3ff) { AV_RB16 52 libavformat/mvdec.c AV_RB16(p->buf + 4) < 3) AV_RB16 2751 libavformat/mxfdec.c int local_tag = AV_RB16(mxf->local_tags+i*18); AV_RB16 195 libavformat/mxg.c size = AV_RB16(mxg->buffer_ptr); AV_RB16 54 libavformat/oggparsevp8.c st->codecpar->width = AV_RB16(p + 8); AV_RB16 55 libavformat/oggparsevp8.c st->codecpar->height = AV_RB16(p + 10); AV_RB16 248 libavformat/omadec.c if (AV_RB16(gdata) != 1) AV_RB16 251 libavformat/omadec.c oc->k_size = AV_RB16(&gdata[2]); AV_RB16 252 libavformat/omadec.c oc->e_size = AV_RB16(&gdata[4]); AV_RB16 253 libavformat/omadec.c oc->i_size = AV_RB16(&gdata[6]); AV_RB16 254 libavformat/omadec.c oc->s_size = AV_RB16(&gdata[8]); AV_RB16 427 libavformat/omadec.c eid = AV_RB16(&buf[6]); AV_RB16 408 libavformat/prompeg.c s->fec_row->sn = AV_RB16(buf + 2); AV_RB16 424 libavformat/prompeg.c s->fec_col_tmp[col_idx]->sn = AV_RB16(buf + 2); AV_RB16 36 libavformat/pva.c int length = AV_RB16(p + 6); AV_RB16 37 libavformat/pva.c if (AV_RB16(p) != PVA_MAGIC || !p[2] || p[2] > 2 || p[4] != 0x55 || AV_RB16 206 libavformat/rdt.c pkt_len = AV_RB16(buf+3); AV_RB16 1534 libavformat/rtmpproto.c t = AV_RB16(pkt->data); AV_RB16 178 libavformat/rtpdec.c payload_len = FFMIN(len, (AV_RB16(buf + 2) + 1) * 4); AV_RB16 640 libavformat/rtpdec.c seq = AV_RB16(buf + 2); AV_RB16 680 libavformat/rtpdec.c ext = (AV_RB16(buf + 2) + 1) << 2; AV_RB16 723 libavformat/rtpdec.c uint16_t seq = AV_RB16(buf + 2); AV_RB16 830 libavformat/rtpdec.c uint16_t seq = AV_RB16(buf + 2); AV_RB16 53 libavformat/rtpdec_h263.c header = AV_RB16(buf); AV_RB16 222 libavformat/rtpdec_h264.c uint16_t nal_size = AV_RB16(src); AV_RB16 244 libavformat/rtpdec_jpeg.c dri = AV_RB16(buf); AV_RB16 269 libavformat/rtpdec_jpeg.c qtable_len = AV_RB16(buf + 2); /* length in bytes */ AV_RB16 60 libavformat/rtpdec_mpa_robust.c *adu_size = AV_RB16(buf) & ~0xc000; AV_RB16 133 libavformat/rtpdec_mpeg4.c au_headers_length = AV_RB16(buf); AV_RB16 103 libavformat/rtpdec_qdm2.c qdm->block_type = AV_RB16(p + 2); AV_RB16 164 libavformat/rtpdec_qdm2.c len = AV_RB16(p); AV_RB16 108 libavformat/rtpdec_vc2hq.c frag_len = AV_RB16(&buf[12]); AV_RB16 109 libavformat/rtpdec_vc2hq.c no_slices = AV_RB16(&buf[14]); AV_RB16 116 libavformat/rtpdec_vp8.c pictureid = AV_RB16(buf) & 0x7fff; AV_RB16 122 libavformat/rtpdec_vp9.c pic_id = AV_RB16(buf) & 0x7fff; AV_RB16 246 libavformat/rtpdec_vp9.c w = AV_RB16(buf); AV_RB16 247 libavformat/rtpdec_vp9.c h = AV_RB16(buf + 2); AV_RB16 74 libavformat/rtpdec_xiph.c pkt_len = AV_RB16(data->split_buf + data->split_pos); AV_RB16 101 libavformat/rtpdec_xiph.c pkt_len = AV_RB16(buf + 4); AV_RB16 74 libavformat/rtpenc_jpeg.c tables = AV_RB16(&buf[i + 2]) / 65; AV_RB16 94 libavformat/rtpenc_jpeg.c int dht_size = AV_RB16(&buf[i + 2]); AV_RB16 157 libavformat/rtpenc_jpeg.c i += AV_RB16(&buf[i + 2]) + 2; AV_RB16 1141 libavformat/rtsp.c len = AV_RB16(buf + 1); AV_RB16 773 libavformat/rtspdec.c len = AV_RB16(buf + 1); AV_RB16 121 libavformat/sapdec.c sap->hash = AV_RB16(&recvbuf[2]); AV_RB16 210 libavformat/sapdec.c uint16_t hash = AV_RB16(&recvbuf[2]); AV_RB16 337 libavformat/sctp.c info.sinfo_stream = AV_RB16(buf); AV_RB16 271 libavformat/sdp.c num_nalus = AV_RB16(&extradata[pos + 1]); AV_RB16 277 libavformat/sdp.c len = AV_RB16(&extradata[pos]); AV_RB16 301 libavformat/sdp.c num_nalus = AV_RB16(&extradata[pos + 1]); AV_RB16 304 libavformat/sdp.c int len = AV_RB16(&extradata[pos]); AV_RB16 120 libavformat/segafilm.c film->audio_samplerate = AV_RB16(&scratch[24]); AV_RB16 262 libavformat/spdifenc.c blocks = (AV_RB16(pkt->data + 4) >> 2) & 0x7f; AV_RB16 452 libavformat/spdifenc.c input_timing = AV_RB16(pkt->data + 2); AV_RB16 152 libavformat/srtp.c int seq = AV_RB16(buf + 2); AV_RB16 223 libavformat/srtp.c ext = (AV_RB16(buf + 2) + 1) * 4; AV_RB16 270 libavformat/srtp.c int seq = AV_RB16(buf + 2); AV_RB16 296 libavformat/srtp.c ext = (AV_RB16(buf + 2) + 1) * 4; AV_RB16 62 libavformat/supdec.c size_t len = AV_RB16(pkt->data + 1); AV_RB16 81 libavformat/supdec.c if (AV_RB16(buf) != SUP_PGS_MAGIC) AV_RB16 83 libavformat/supdec.c full_packet_size = AV_RB16(buf + 10 + 1) + 10 + 3; AV_RB16 46 libavformat/supenc.c size_t len = AV_RB16(data + 1) + 3; AV_RB16 41 libavformat/yop.c if (AV_RB16(probe_packet->buf) == AV_RB16("YO") && AV_RB16 53 libavutil/avr32/intreadwrite.h #define AV_RB16 AV_RB16 AV_RB16 89 libavutil/intreadwrite.h # if defined(AV_RN16) && !defined(AV_RB16) AV_RB16 91 libavutil/intreadwrite.h # elif !defined(AV_RN16) && defined(AV_RB16) AV_RB16 92 libavutil/intreadwrite.h # define AV_RN16(p) AV_RB16(p) AV_RB16 239 libavutil/intreadwrite.h #ifndef AV_RB16 AV_RB16 401 libavutil/intreadwrite.h #ifndef AV_RB16 AV_RB16 78 libavutil/pixdesc.c else if(is_16bit) val = flags & AV_PIX_FMT_FLAG_BE ? AV_RB16(p) : AV_RL16(p); AV_RB16 141 libavutil/pixdesc.c uint16_t val = AV_RB16(p) | (s << shift); AV_RB16 29 libavutil/tomi/intreadwrite.h #define AV_RB16 AV_RB16 AV_RB16 44 libswscale/bayer_template.c #define BAYER_READ(x) AV_RB16(&(x)) AV_RB16 38 libswscale/input.c #define input_pixel(pos) (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos)) AV_RB16 249 libswscale/input.c : (isBE(origin) ? AV_RB16(&src[(i) * 2]) \ AV_RB16 432 libswscale/input.c dst[i] = AV_RB16(src + 4 * i + 3); AV_RB16 617 libswscale/input.c AV_WN16(dst + i * 2, AV_RB16(src + i * 4)); AV_RB16 625 libswscale/input.c AV_WN16(dst + i * 2, AV_RB16(src + i * 4 + 2)); AV_RB16 714 libswscale/input.c AV_WN16(dst + i * 2, AV_RB16(src + i * 2) >> 6); AV_RB16 735 libswscale/input.c AV_WN16(dstU + i * 2, AV_RB16(src1 + i * 4 + 0) >> 6); AV_RB16 736 libswscale/input.c AV_WN16(dstV + i * 2, AV_RB16(src1 + i * 4 + 2) >> 6); AV_RB16 757 libswscale/input.c AV_WN16(dstU + i * 2, AV_RB16(src1 + i * 4 + 0)); AV_RB16 758 libswscale/input.c AV_WN16(dstV + i * 2, AV_RB16(src1 + i * 4 + 2)); AV_RB16 762 libswscale/input.c #define input_pixel(pos) (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos)) AV_RB16 910 libswscale/input.c is_be ? AV_RB16(src) : AV_RL16(src) AV_RB16 639 libswscale/swscale.c x = AV_RB16(src + xp + 0); AV_RB16 640 libswscale/swscale.c y = AV_RB16(src + xp + 1); AV_RB16 641 libswscale/swscale.c z = AV_RB16(src + xp + 2); AV_RB16 695 libswscale/swscale.c r = AV_RB16(src + xp + 0); AV_RB16 696 libswscale/swscale.c g = AV_RB16(src + xp + 1); AV_RB16 697 libswscale/swscale.c b = AV_RB16(src + xp + 2); AV_RB16 1855 libswscale/swscale_unscaled.c COPY_UP(AV_RB16, AV_WB16) AV_RB16 1857 libswscale/swscale_unscaled.c COPY_UP(AV_RB16, AV_WL16) AV_RB16 479 tools/ismindex.c sps_size = AV_RB16(&codecpar->extradata[6]); AV_RB16 484 tools/ismindex.c pps_size = AV_RB16(&codecpar->extradata[9 + sps_size]); AV_RB16 71 tools/sidxindex.c aot = ((AV_RB16(codecpar->extradata) >> 5) & 0x3f) + 32;