Home
last modified time | relevance | path

Searched refs:bitstream_id (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dac3_parser.c65 hdr->bitstream_id = show_bits_long(gbc, 29) & 0x1F; in ff_ac3_parse_header()
66 if(hdr->bitstream_id > 16) in ff_ac3_parse_header()
78 if(hdr->bitstream_id <= 10) { in ff_ac3_parse_header()
104 hdr->sr_shift = FFMAX(hdr->bitstream_id, 8) - 8; in ff_ac3_parse_header()
176 uint8_t *bitstream_id, uint16_t *frame_size) in av_ac3_parse_header() argument
187 *bitstream_id = hdr.bitstream_id; in av_ac3_parse_header()
224 if(hdr.bitstream_id>10) in ac3_sync()
260 uint8_t *bitstream_id, uint16_t *frame_size) in av_ac3_parse_header() argument
Dac3_parser.h33 uint8_t *bitstream_id, uint16_t *frame_size);
Dac3.h183 uint8_t bitstream_id; member
Dac3enc.c916 if (s->bitstream_id == 6) { in count_frame_bits()
1404 put_bits(&s->pb, 5, s->bitstream_id); in ac3_output_frame_header()
1424 if (s->bitstream_id == 6) { in ac3_output_frame_header()
1780 switch (s->bitstream_id) { in dprint_options()
1788 ff_dlog(avctx, "bitstream_id: %s (%d)\n", strbuf, s->bitstream_id); in dprint_options()
1838 if (s->bitstream_id == 6) { in dprint_options()
2092 if (s->bitstream_id > 8 && s->bitstream_id < 11) { in ff_ac3_validate_metadata()
2100 s->bitstream_id = 6; in ff_ac3_validate_metadata()
2238 s->bitstream_id = s->eac3 ? 16 : 8 + s->bit_alloc.sr_shift; in validate_options()
Dac3dec.h86 int bitstream_id; ///< bitstream id (bsid) member
Dac3enc.h174 int bitstream_id; ///< bitstream id (bsid) member
Deac3enc.c145 put_bits(&s->pb, 5, s->bitstream_id); /* bitstream id (EAC3=16) */ in ff_eac3_output_frame_header()
Dac3dec.c270 if (s->bitstream_id != 6) { in ac3_parse_header()
315 s->bitstream_id = hdr.bitstream_id; in parse_frame_header()
347 if (s->bitstream_id <= 10) { in parse_frame_header()
/third_party/ffmpeg/libavformat/
Dac3dec.c46 uint8_t bitstream_id; in ac3_eac3_probe() local
60 ret = av_ac3_parse_header(buf3, 8, &bitstream_id, in ac3_eac3_probe()
63 ret = av_ac3_parse_header(buf2, end - buf2, &bitstream_id, in ac3_eac3_probe()
81 if (bitstream_id > 10) in ac3_eac3_probe()
Dmpegtsenc.c1934 dvb_ac3_desc->bsid = hdr->bitstream_id; in mpegts_write_packet_internal()
Dmovenc.c428 if (hdr->bitstream_id <= 10 && hdr->substreamid != 0) { in handle_eac3()
462 info->substream[hdr->substreamid].bsid = hdr->bitstream_id; in handle_eac3()