Home
last modified time | relevance | path

Searched refs:ch_mode (Results 1 - 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A 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()
H A 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()
494 s->ch_mode = fi.ch_mode; in decode_frame()
621 s->dsp.decorrelate[s->ch_mode](frame->data, s->decoded, in flac_decode_frame()
H A Dflacenc.c69 int ch_mode; member
102 int ch_mode; member
1132 frame->ch_mode = FLAC_CHMODE_INDEPENDENT; in channel_decorrelation()
1136 if (s->options.ch_mode < 0) { in channel_decorrelation()
1138 frame->ch_mode = estimate_stereo_mode(left, right, n, max_rice_param); in channel_decorrelation()
1140 frame->ch_mode = s->options.ch_mode; in channel_decorrelation()
1143 if (frame->ch_mode == FLAC_CHMODE_INDEPENDENT) in channel_decorrelation()
1145 if (frame->ch_mode == FLAC_CHMODE_MID_SIDE) { in channel_decorrelation()
1153 } else if (frame->ch_mode in channel_decorrelation()
[all...]
H A Dflac.h85 int ch_mode; /**< channel decorrelation mode */ member
/third_party/alsa-utils/axfer/
H A 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/
H A Dflac.mak11 fate-flac-16-chmode-%: OPTS = -ch_mode $(@:fate-flac-16-chmode-%=%)

Completed in 6 milliseconds