Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstsbcparse.c77 static gsize gst_sbc_calc_framelen (guint subbands, GstSbcChannelMode ch_mode,
80 guint * n_blocks, GstSbcChannelMode * ch_mode,
117 sbcparse->ch_mode = GST_SBC_CHANNEL_MODE_INVALID; in gst_sbc_parse_reset()
154 gst_sbc_channel_mode_get_name (GstSbcChannelMode ch_mode) in gst_sbc_channel_mode_get_name() argument
156 switch (ch_mode) { in gst_sbc_channel_mode_get_name()
191 GstSbcChannelMode ch_mode = GST_SBC_CHANNEL_MODE_INVALID; in gst_sbc_parse_handle_frame() local
201 frame_len = gst_sbc_parse_header (map.data, &rate, &n_blocks, &ch_mode, in gst_sbc_parse_handle_frame()
210 || sbcparse->ch_mode != ch_mode in gst_sbc_parse_handle_frame()
219 "channels", G_TYPE_INT, (ch_mode == GST_SBC_CHANNEL_MODE_MONO) ? 1 : 2, in gst_sbc_parse_handle_frame()
220 "channel-mode", G_TYPE_STRING, gst_sbc_channel_mode_get_name (ch_mode), in gst_sbc_parse_handle_frame()
[all …]
Dgstsbcparse.h59 GstSbcChannelMode ch_mode; member
/third_party/ffmpeg/libavcodec/
Dflac.c69 fi->ch_mode = get_bits(gb, 4); in ff_flac_decode_frame_header()
70 if (fi->ch_mode < FLAC_MAX_CHANNELS) { in ff_flac_decode_frame_header()
71 fi->channels = fi->ch_mode + 1; in ff_flac_decode_frame_header()
72 fi->ch_mode = FLAC_CHMODE_INDEPENDENT; in ff_flac_decode_frame_header()
73 } else if (fi->ch_mode < FLAC_MAX_CHANNELS + FLAC_CHMODE_MID_SIDE) { in ff_flac_decode_frame_header()
75 fi->ch_mode -= FLAC_MAX_CHANNELS - 1; in ff_flac_decode_frame_header()
78 "invalid channel mode: %d\n", fi->ch_mode); in ff_flac_decode_frame_header()
Dflacdec.c60 int ch_mode; ///< channel decorrelation type in the current frame member
413 if (s->ch_mode == FLAC_CHMODE_RIGHT_SIDE) in decode_subframe()
416 if (s->ch_mode == FLAC_CHMODE_LEFT_SIDE || s->ch_mode == FLAC_CHMODE_MID_SIDE) in decode_subframe()
495 s->ch_mode = fi.ch_mode; in decode_frame()
624 s->dsp.decorrelate[s->ch_mode](frame->data, s->decoded, in flac_decode_frame()
Dflacenc.c66 int ch_mode; member
99 int ch_mode; member
1165 frame->ch_mode = FLAC_CHMODE_INDEPENDENT; in channel_decorrelation()
1169 if (s->options.ch_mode < 0) { in channel_decorrelation()
1171 frame->ch_mode = estimate_stereo_mode(left, right, n, max_rice_param); in channel_decorrelation()
1173 frame->ch_mode = s->options.ch_mode; in channel_decorrelation()
1176 if (frame->ch_mode == FLAC_CHMODE_INDEPENDENT) in channel_decorrelation()
1178 if (frame->ch_mode == FLAC_CHMODE_MID_SIDE) { in channel_decorrelation()
1186 } else if (frame->ch_mode == FLAC_CHMODE_LEFT_SIDE) { in channel_decorrelation()
1216 if (frame->ch_mode == FLAC_CHMODE_INDEPENDENT) in write_frame_header()
[all …]
Dflac.h85 int ch_mode; /**< channel decorrelation mode */ member
/third_party/alsa-utils/axfer/
Dcontainer-voc.c186 uint8_t ch_mode; // 0 is monaural, 1 is stereo. member
385 if (block->ch_mode == 0) in parse_extended_v110_format()
387 else if (block->ch_mode == 1) in parse_extended_v110_format()
652 block->ch_mode = 0; in write_extended_v110_format_block()
654 block->ch_mode = 1; in write_extended_v110_format_block()
/third_party/ffmpeg/tests/fate/
Dflac.mak11 fate-flac-16-chmode-%: OPTS = -ch_mode $(@:fate-flac-16-chmode-%=%)
/third_party/gstreamer/gstplugins_base/gst/typefind/
Dgsttypefindfunctions.c5445 guint n_blocks, ch_mode, n_subbands, bitpool; in sbc_check_header() local
5451 ch_mode = (data[1] >> 2) & 0x03; in sbc_check_header()
5458 *channels = (ch_mode == 0) ? 1 : 2; in sbc_check_header()
5460 if (ch_mode == 0) in sbc_check_header()
5462 else if (ch_mode == 1) in sbc_check_header()
5464 else if (ch_mode == 2) in sbc_check_header()
5466 else if (ch_mode == 3) in sbc_check_header()
/third_party/ffmpeg/doc/
Dencoders.texi590 @item ch_mode
/third_party/gstreamer/gstplugins_good/
DChangeLog63812 …gst-plugins-good/gst/audioparsers/gstsbcparse.c:210:32: error: 'ch_mode' may be used uninitialized…