Home
last modified time | relevance | path

Searched refs:AV_RB16 (Results 1 – 25 of 138) sorted by relevance

123456

/third_party/ffmpeg/libavformat/
Dcdxl.c64 if (buf[0] == 1 && AV_RB16(&buf[20]) > 512) in cdxl_read_probe()
66 if (buf[0] == 0 && AV_RB16(&buf[20]) > 768) in cdxl_read_probe()
72 if (buf[0] == 0 && (!buf[26] || !AV_RB16(&buf[24]))) in cdxl_read_probe()
83 if (AV_RB16(&buf[14]) > 640 || AV_RB16(&buf[16]) > 480 || in cdxl_read_probe()
84 AV_RB16(&buf[14]) == 0 || AV_RB16(&buf[16]) == 0) in cdxl_read_probe()
88 …if (AV_RB32(&buf[2]) <= AV_RB16(&buf[20]) + AV_RB16(&buf[22]) * (1 + !!(buf[1] & 0x10)) + CDXL_HEA… in cdxl_read_probe()
142 width = AV_RB16(&cdxl->header[14]); in cdxl_read_packet()
143 height = AV_RB16(&cdxl->header[16]); in cdxl_read_packet()
144 palette_size = AV_RB16(&cdxl->header[20]); in cdxl_read_packet()
145 audio_size = AV_RB16(&cdxl->header[22]) * channels; in cdxl_read_packet()
[all …]
Dsga.c60 int header = AV_RB16(src + i); in sga_probe()
71 int header = AV_RB16(src + i); in sga_probe()
72 int left = AV_RB16(src + i + 2); in sga_probe()
108 header = AV_RB16(src + offset); in sga_probe()
109 size = AV_RB16(src + offset + 2) + 4; in sga_probe()
115 header = AV_RB16(src + offset); in sga_probe()
116 size = AV_RB16(src + offset + 2) + 4; in sga_probe()
133 new_rate = AV_RB16(src + offset + 8); in sga_probe()
250 sga->payload_size = AV_RB16(sga->sector + 2); in update_type_size()
327 st->codecpar->sample_rate = av_rescale(AV_RB16(sga->sector + 8), in sga_audio_packet()
Dsupdec.c62 size_t len = AV_RB16(pkt->data + 1); in sup_read_packet()
81 if (AV_RB16(buf) != SUP_PGS_MAGIC) in sup_probe()
83 full_packet_size = AV_RB16(buf + 10 + 1) + 10 + 3; in sup_probe()
Davr.c32 if (!AV_RB16(p->buf+12) || AV_RB16(p->buf+12) > 256) // channels in avr_probe()
34 if (AV_RB16(p->buf+14) > 256) // bps in avr_probe()
Dlmlm4.c43 frame_type = AV_RB16(buf + 2); in lmlm4_probe()
46 if (!AV_RB16(buf) && frame_type <= LMLM4_MPEG1L2 && packet_size && in lmlm4_probe()
49 if ((AV_RB16(buf + 8) & 0xfffe) != 0xfffc) in lmlm4_probe()
Dimg2dec.c677 if (AV_RB16(b) != 0x424d) in bmp_probe()
754 if (AV_RB16(b) != 0xFFD8 || in jpeg_probe()
774 i += AV_RB16(&b[i + 2]) + 1; in jpeg_probe()
780 i += AV_RB16(&b[i + 2]) + 1; in jpeg_probe()
808 i += AV_RB16(&b[i + 2]) + 1; in jpeg_probe()
860 && AV_RB16(b + 520) in qdraw_probe()
861 && AV_RB16(b + 518)) in qdraw_probe()
864 && AV_RB16(b + 8) in qdraw_probe()
865 && AV_RB16(b + 6)) in qdraw_probe()
909 color_mode = AV_RB16(b+24); in psd_probe()
[all …]
Dastdec.c33 if (!AV_RB16(p->buf + 10) || in ast_probe()
34 !AV_RB16(p->buf + 12) || AV_RB16(p->buf + 12) > 256 || in ast_probe()
Ddnxhddec.c35 h = AV_RB16(p->buf + 0x18); in dnxhd_probe()
36 w = AV_RB16(p->buf + 0x1a); in dnxhd_probe()
Dlatmenc.c110 put_bits(pb, 16, AV_RB16(src + 2 * i)); in copy_bits()
112 put_bits(pb, bits, AV_RB16(src + 2 * words) >> (16 - bits)); in copy_bits()
175 (AV_RB16(pkt->data + 1) & 0x1FFF) + 3 == pkt->size) in latm_write_packet()
252 if (pkt->size > 2 && (AV_RB16(pkt->data) & 0xfff0) == 0xfff0) in latm_check_bitstream()
Dmpeg.h70 (AV_RB16(buf+1) >> 1) << 15 | in ff_parse_pes_pts()
71 AV_RB16(buf+3) >> 1; in ff_parse_pes_pts()
Drtpdec_vp9.c122 pic_id = AV_RB16(buf) & 0x7fff; in vp9_handle_packet()
246 w = AV_RB16(buf); in vp9_handle_packet()
247 h = AV_RB16(buf + 2); in vp9_handle_packet()
Drtpenc_jpeg.c74 tables = AV_RB16(&buf[i + 2]) / 65; in ff_rtp_send_jpeg()
94 int dht_size = AV_RB16(&buf[i + 2]); in ff_rtp_send_jpeg()
157 i += AV_RB16(&buf[i + 2]) + 2; in ff_rtp_send_jpeg()
Dmlpdec.c42 size = (AV_RB16(buf) & 0xfff) * 2; in mlp_thd_probe()
45 size += (AV_RB16(buf) & 0xfff) * 2; in mlp_thd_probe()
/third_party/ffmpeg/libavcodec/
Ddpxenc.c104 value = ((AV_RB16(src + 6*x + 4) & 0xFFC0U) >> 4) in encode_rgb48_10bit()
105 | ((AV_RB16(src + 6*x + 2) & 0xFFC0U) << 6) in encode_rgb48_10bit()
106 | ((AV_RB16(src + 6*x + 0) & 0xFFC0U) << 16); in encode_rgb48_10bit()
129 value = (AV_RB16(src[0] + 2*x) << 12) in encode_gbrp10()
130 | (AV_RB16(src[1] + 2*x) << 2) in encode_gbrp10()
131 | ((unsigned)AV_RB16(src[2] + 2*x) << 22); in encode_gbrp10()
158 value[1] = AV_RB16(src[0] + x) << 4; in encode_gbrp12()
159 value[2] = AV_RB16(src[1] + x) << 4; in encode_gbrp12()
160 value[0] = AV_RB16(src[2] + x) << 4; in encode_gbrp12()
Dadx.c46 if (AV_RB16(buf) != 0x8000) in ff_adx_decode_header()
48 offset = AV_RB16(buf + 2) + 4; in ff_adx_decode_header()
76 cutoff = AV_RB16(buf + 16); in ff_adx_decode_header()
Dcinepak.c323 num_strips = AV_RB16 (&s->data[8]); in cinepak_predecode_check()
376 num_strips = AV_RB16 (&s->data[8]); in cinepak_decode()
390 if (!(s->strips[i].y1 = AV_RB16 (&s->data[4]))) in cinepak_decode()
391 s->strips[i].y2 = (s->strips[i].y1 = y0) + AV_RB16 (&s->data[8]); in cinepak_decode()
393 s->strips[i].y2 = AV_RB16 (&s->data[8]); in cinepak_decode()
394 s->strips[i].x1 = AV_RB16 (&s->data[6]); in cinepak_decode()
395 s->strips[i].x2 = AV_RB16 (&s->data[10]); in cinepak_decode()
465 num_strips = AV_RB16 (&s->data[8]); in cinepak_decode_frame()
Dhcom.c54 s->dict_entries = AV_RB16(avctx->extradata); in hcom_init()
65 s->dict[i].l = AV_RB16(avctx->extradata + 6 + 4 * i); in hcom_init()
66 s->dict[i].r = AV_RB16(avctx->extradata + 6 + 4 * i + 2); in hcom_init()
Ddvbsubdec.c271 ctx->composition_id = AV_RB16(avctx->extradata + 5*ctx->substream); in dvbsub_init_decoder()
272 ctx->ancillary_id = AV_RB16(avctx->extradata + 5*ctx->substream + 2); in dvbsub_init_decoder()
275 ctx->composition_id = AV_RB16(avctx->extradata); in dvbsub_init_decoder()
276 ctx->ancillary_id = AV_RB16(avctx->extradata + 2); in dvbsub_init_decoder()
998 object_id = AV_RB16(buf); in dvbsub_parse_object_segment()
1010 top_field_len = AV_RB16(buf); in dvbsub_parse_object_segment()
1012 bottom_field_len = AV_RB16(buf); in dvbsub_parse_object_segment()
1184 region->width = AV_RB16(buf); in dvbsub_parse_region_segment()
1186 region->height = AV_RB16(buf); in dvbsub_parse_region_segment()
1245 object_id = AV_RB16(buf); in dvbsub_parse_region_segment()
[all …]
Dxiph.c30 if (extradata_size >= 6 && AV_RB16(extradata) == first_header_size) { in avpriv_split_xiph_headers()
33 header_len[i] = AV_RB16(extradata); in avpriv_split_xiph_headers()
Dadxdec.c70 int scale = AV_RB16(in); in adx_decode()
128 if (!c->header_parsed && buf_size >= 2 && AV_RB16(buf) == 0x8000) { in adx_decode_frame()
151 if (buf_size >= 4 && (AV_RB16(buf) & 0x8000)) { in adx_decode_frame()
Ddvdsub_parser.c46 if (buf_size < 2 || AV_RB16(buf) && buf_size < 6) { in dvdsub_parse()
51 pc->packet_len = AV_RB16(buf); in dvdsub_parse()
Dpnmdec.c34 ((uint16_t *)dst)[i] = AV_RB16(src+2*i); in samplecpy()
176 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame()
230 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame()
242 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame()
248 v = AV_RB16(s->bytestream + 2*j); in pnm_decode_frame()
/third_party/ffmpeg/libavutil/tomi/
Dintreadwrite.h29 #define AV_RB16 AV_RB16 macro
30 static av_always_inline uint16_t AV_RB16(const void *p) in AV_RB16() function
/third_party/ffmpeg/libavutil/avr32/
Dintreadwrite.h53 #define AV_RB16 AV_RB16 macro
54 static av_always_inline uint16_t AV_RB16(const void *p) in AV_RB16() function
/third_party/ffmpeg/libavutil/
Dintreadwrite.h89 # if defined(AV_RN16) && !defined(AV_RB16)
90 # define AV_RB16(p) AV_RN16(p) macro
91 # elif !defined(AV_RN16) && defined(AV_RB16)
92 # define AV_RN16(p) AV_RB16(p)
239 #ifndef AV_RB16
240 # define AV_RB16(x) \ macro
401 #ifndef AV_RB16
402 # define AV_RB16(p) AV_RB(16, p) macro

123456