Home
last modified time | relevance | path

Searched refs:bsid (Results 1 – 17 of 17) sorted by relevance

/third_party/gstreamer/gstplugins_base/tests/check/gst/
Dtypefindfunctions.c216 make_ac3_packet (guint8 * data, guint bytesize, guint bsid) in make_ac3_packet() argument
246 data[5] = (bsid & 0x1f) << 3; in make_ac3_packet()
256 guint bsid; in GST_START_TEST() local
258 for (bsid = 0; bsid < 32; bsid++) { in GST_START_TEST()
263 make_ac3_packet (map.data, 256 * 2, bsid); in GST_START_TEST()
264 make_ac3_packet (map.data + 256 * 2, 640 * 2, bsid); in GST_START_TEST()
268 if (bsid <= 8) { in GST_START_TEST()
270 GST_LOG ("Found type for BSID %u: %" GST_PTR_FORMAT, bsid, caps); in GST_START_TEST()
288 make_eac3_packet (guint8 * data, guint bytesize, guint bsid) in make_eac3_packet() argument
309 data[5] = (bsid & 0x1f) << 3; in make_eac3_packet()
[all …]
/third_party/lz4/tests/
DcheckFrame.c128 int frameCheck(cRess_t ress, FILE* const srcFile, unsigned bsid, size_t blockSize) in frameCheck() argument
156 if (frameInfo.blockSizeID != (LZ4F_blockSizeID_t) bsid) in frameCheck()
158 frameInfo.blockSizeID, bsid); in frameCheck()
219 unsigned bsid=0; in main() local
258 bsid=0; in main()
260 bsid *= 10; in main()
261 bsid += (unsigned)(*argument - '0'); in main()
285 if (bsid == 0 || blockSize == 0) in main()
296 err = frameCheck(ress, srcFile, bsid, blockSize); in main()
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstac3parse.c312 guint8 fscod, frmsizcod, bsid, acmod, lfe_on, rate_scale; in gst_ac3_parse_frame_header_ac3() local
330 bsid = gst_bit_reader_get_bits_uint8_unchecked (&bits, 5); in gst_ac3_parse_frame_header_ac3()
338 if (bsid > 10) { in gst_ac3_parse_frame_header_ac3()
339 GST_DEBUG_OBJECT (ac3parse, "unexpected bsid=%d", bsid); in gst_ac3_parse_frame_header_ac3()
341 } else if (bsid != 8 && bsid != 6) { in gst_ac3_parse_frame_header_ac3()
342 GST_DEBUG_OBJECT (ac3parse, "undefined bsid=%d", bsid); in gst_ac3_parse_frame_header_ac3()
356 rate_scale = (CLAMP (bsid, 8, 10) - 8); in gst_ac3_parse_frame_header_ac3()
449 guint8 bsid; in gst_ac3_parse_frame_header() local
462 bsid = gst_bit_reader_peek_bits_uint8_unchecked (&bits, 5); in gst_ac3_parse_frame_header()
467 GST_LOG_OBJECT (parse, "bsid = %d", bsid); in gst_ac3_parse_frame_header()
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpac3pay.c375 guint bsid, fscod, frmsizecod, frame_size; in gst_rtp_ac3_pay_handle_buffer() local
383 bsid = p[5] >> 3; in gst_rtp_ac3_pay_handle_buffer()
384 if (bsid > 8) in gst_rtp_ac3_pay_handle_buffer()
/third_party/alsa-lib/modules/mixer/simple/
Dsbase.c330 struct bclass_sid *bsid; in simple_event_add1() local
335 bsid = list_entry(pos, struct bclass_sid, list); in simple_event_add1()
336 for (ui = 0; ui < bsid->count; ui++) { in simple_event_add1()
337 if (bsid->sids[ui].sid == sel->sid) { in simple_event_add1()
338 sid = &bsid->sids[ui]; in simple_event_add1()
/third_party/lz4/programs/
Dlz4io.c205 size_t LZ4IO_setBlockSizeID(LZ4IO_prefs_t* const prefs, unsigned bsid) in LZ4IO_setBlockSizeID() argument
210 if ((bsid < minBlockSizeID) || (bsid > maxBlockSizeID)) return 0; in LZ4IO_setBlockSizeID()
211 prefs->blockSizeId = (int)bsid; in LZ4IO_setBlockSizeID()
220 unsigned bsid = 0; in LZ4IO_setBlockSize() local
227 bsid++; in LZ4IO_setBlockSize()
228 if (bsid < 7) bsid = 7; in LZ4IO_setBlockSize()
229 prefs->blockSizeId = (int)(bsid-3); in LZ4IO_setBlockSize()
/third_party/ffmpeg/libavformat/
Dmpegts.h199 uint8_t bsid; member
Dspdifenc.c127 int bsid = pkt->data[5] >> 3; in spdif_header_eac3() local
128 if (bsid > 10 && (pkt->data[4] & 0xc0) != 0xc0) /* fscod */ in spdif_header_eac3()
Dmpegtsenc.c514 if (dvb_ac3_desc->bsid_flag) *q++ = dvb_ac3_desc->bsid; in mpegts_write_pmt()
1934 dvb_ac3_desc->bsid = hdr->bitstream_id; in mpegts_write_packet_internal()
Dmovenc.c324 int fscod, bsid, bsmod, acmod, lfeon, frmsizecod; in mov_write_ac3_tag() local
339 bsid = get_bits(&gbc, 5); in mov_write_ac3_tag()
354 put_bits(&pbc, 5, bsid); in mov_write_ac3_tag()
381 uint8_t bsid; member
448 hdr->substreamid == 0 && info->substream[0].bsid) { in handle_eac3()
462 info->substream[hdr->substreamid].bsid = hdr->bitstream_id; in handle_eac3()
567 put_bits(&pbc, 5, info->substream[i].bsid); in mov_write_eac3_tag()
/third_party/ntfs-3g/libntfs-3g/
Dacls.c4160 SID *bsid; in encodesid() local
4166 bsid = (SID*)&bigsid; in encodesid()
4167 bsid->revision = SID_REVISION; in encodesid()
4170 bsid->identifier_authority.high_part = const_cpu_to_be16(0); in encodesid()
4171 bsid->identifier_authority.low_part = cpu_to_be32(auth); in encodesid()
4177 bsid->sub_authority[cnt] = cpu_to_le32(auth); in encodesid()
4181 bsid->sub_authority_count = cnt; in encodesid()
4182 if ((cnt > 0) && ntfs_valid_sid(bsid) in encodesid()
4183 && (ntfs_is_user_sid(bsid) || ntfs_known_group_sid(bsid))) { in encodesid()
4186 memcpy(sid, bsid, 4 * cnt + 8); in encodesid()
/third_party/gstreamer/gstplugins_base/gst/typefind/
Dgsttypefindfunctions.c1858 guint bsid = c.data[5] >> 3; in ac3_type_find() local
1860 if (bsid <= 8) { in ac3_type_find()
1897 } else if (bsid <= 16 && bsid > 10) { in ac3_type_find()
1924 GST_LOG ("invalid AC3 BSID: %u", bsid); in ac3_type_find()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datoms.h1118 AtomInfo * build_ac3_extension (guint8 fscod, guint8 bsid,
Dgstqtmux.c1194 guint8 fscod, guint8 frmsizcod, guint8 bsid, guint8 bsmod, guint8 acmod, in gst_qt_mux_pad_add_ac3_extension() argument
1201 …ext = build_ac3_extension (fscod, bsid, bsmod, acmod, lfe_on, frmsizcod >> 1); /* bitrate_c… in gst_qt_mux_pad_add_ac3_extension()
1228 guint8 fscod, frmsizcod, bsid, bsmod, acmod, lfe_on; in gst_qt_mux_prepare_parse_ac3_frame() local
1239 bsid = gst_bit_reader_get_bits_uint8_unchecked (&bits, 5); in gst_qt_mux_prepare_parse_ac3_frame()
1252 gst_qt_mux_pad_add_ac3_extension (qtmux, qtpad, fscod, frmsizcod, bsid, in gst_qt_mux_prepare_parse_ac3_frame()
Datoms.c5758 build_ac3_extension (guint8 fscod, guint8 bsid, guint8 bsmod, guint8 acmod, in build_ac3_extension() argument
5778 data[0] = (fscod << 6) | (bsid << 1) | ((bsmod >> 2) & 1); in build_ac3_extension()
/third_party/gstreamer/gstplugins_good/
DChangeLog78012 ac3parse: let bsid 9 and 10 through
81943 ac3parse: use bsid 9 and 10 to control sample rate
88879 ac3parse: relax bsid checking
/third_party/gstreamer/gstplugins_bad/
DChangeLog172926 ac3parse: relax bsid checking