Home
last modified time | relevance | path

Searched refs:n_subbands (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstsbcparse.c81 GstSbcAllocationMethod * alloc_method, guint * n_subbands, guint * bitpool);
120 sbcparse->n_subbands = -1; in gst_sbc_parse_reset()
193 guint rate = 0, n_blocks = 0, n_subbands = 0, bitpool = 0; in gst_sbc_parse_handle_frame() local
202 &alloc_method, &n_subbands, &bitpool); in gst_sbc_parse_handle_frame()
213 || sbcparse->n_subbands != n_subbands || sbcparse->bitpool != bitpool) { in gst_sbc_parse_handle_frame()
221 "blocks", G_TYPE_INT, n_blocks, "subbands", G_TYPE_INT, n_subbands, in gst_sbc_parse_handle_frame()
231 avg_bitrate = (8 * frame_len * rate) / (n_subbands * n_blocks); in gst_sbc_parse_handle_frame()
234 gst_base_parse_set_frame_rate (parse, rate, n_subbands * n_blocks, 0, 0); in gst_sbc_parse_handle_frame()
240 sbcparse->n_subbands = n_subbands; in gst_sbc_parse_handle_frame()
254 max_frames = MIN (map.size / frame_len, n_blocks * n_subbands * 5); in gst_sbc_parse_handle_frame()
[all …]
Dgstsbcparse.h62 gint n_subbands; member
/third_party/ffmpeg/libavcodec/
Dac3dec.c779 int subbnd, bnd, n_subbands, n_bands=0; in decode_band_structure() local
782 n_subbands = end_subband - start_subband; in decode_band_structure()
787 av_assert0(band_struct_size >= start_subband + n_subbands); in decode_band_structure()
793 for (subbnd = 0; subbnd < n_subbands - 1; subbnd++) { in decode_band_structure()
802 n_bands = n_subbands; in decode_band_structure()
804 for (bnd = 0, subbnd = 1; subbnd < n_subbands; subbnd++) { in decode_band_structure()
/third_party/gstreamer/gstplugins_base/gst/typefind/
Dgsttypefindfunctions.c5445 guint n_blocks, ch_mode, n_subbands, bitpool; in sbc_check_header() local
5452 n_subbands = (data[1] & 0x01) ? 8 : 4; in sbc_check_header()
5461 return 4 + (n_subbands * 1) / 2 + (n_blocks * 1 * bitpool) / 8; in sbc_check_header()
5463 return 4 + (n_subbands * 2) / 2 + (n_blocks * 2 * bitpool) / 8; in sbc_check_header()
5465 return 4 + (n_subbands * 2) / 2 + (n_blocks * bitpool) / 8; in sbc_check_header()
5467 return 4 + (n_subbands * 2) / 2 + (n_subbands + n_blocks * bitpool) / 8; in sbc_check_header()