Lines Matching refs:ch_mode
77 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()
237 sbcparse->ch_mode = ch_mode; in gst_sbc_parse_handle_frame()
259 &n_blocks, &ch_mode, &alloc_method, &n_subbands, &bitpool); in gst_sbc_parse_handle_frame()
262 sbcparse->ch_mode != ch_mode || sbcparse->rate != rate || in gst_sbc_parse_handle_frame()
423 gst_sbc_calc_framelen (guint subbands, GstSbcChannelMode ch_mode, in gst_sbc_calc_framelen() argument
426 switch (ch_mode) { in gst_sbc_calc_framelen()
444 GstSbcChannelMode * ch_mode, GstSbcAllocationMethod * alloc_method, in gst_sbc_parse_header() argument
458 *ch_mode = (GstSbcChannelMode) ((data[1] >> 2) & 0x03); in gst_sbc_parse_header()
464 "n_subbands=%u, bitpool=%u", *rate, *n_blocks, *ch_mode, *alloc_method, in gst_sbc_parse_header()
476 if (*ch_mode == GST_SBC_CHANNEL_MODE_JOINT_STEREO) in gst_sbc_parse_header()
480 if (*ch_mode == GST_SBC_CHANNEL_MODE_MONO) in gst_sbc_parse_header()
500 return gst_sbc_calc_framelen (*n_subbands, *ch_mode, *n_blocks, *bitpool); in gst_sbc_parse_header()