/third_party/ffmpeg/libavformat/ |
H A D | matroska.c | 156 AVStereo3D *stereo; in ff_mkv_stereo3d_conv() local 159 stereo = av_stereo3d_alloc(); in ff_mkv_stereo3d_conv() 160 if (!stereo) in ff_mkv_stereo3d_conv() 166 stereo->type = AV_STEREO3D_2D; in ff_mkv_stereo3d_conv() 169 stereo->flags |= AV_STEREO3D_FLAG_INVERT; in ff_mkv_stereo3d_conv() 171 stereo->type = AV_STEREO3D_SIDEBYSIDE; in ff_mkv_stereo3d_conv() 174 stereo->flags |= AV_STEREO3D_FLAG_INVERT; in ff_mkv_stereo3d_conv() 176 stereo->type = AV_STEREO3D_TOPBOTTOM; in ff_mkv_stereo3d_conv() 179 stereo->flags |= AV_STEREO3D_FLAG_INVERT; in ff_mkv_stereo3d_conv() 181 stereo in ff_mkv_stereo3d_conv() [all...] |
H A D | iss.c | 75 int stereo, rate_divisor; in iss_read_header() local 85 get_token(pb, token, sizeof(token)); //stereo in iss_read_header() 86 if (sscanf(token, "%d", &stereo) != 1) { in iss_read_header() 87 av_log(s, AV_LOG_ERROR, "Failed parsing stereo flag\n"); in iss_read_header() 113 if (stereo) { in iss_read_header()
|
H A D | mmf.c | 36 int stereo; member 86 mmf->stereo = s->streams[0]->codecpar->ch_layout.nb_channels > 1; in mmf_write_header() 87 if (mmf->stereo && in mmf_write_header() 89 av_log(s, AV_LOG_ERROR, "Yamaha SMAF stereo is experimental, " in mmf_write_header() 114 avio_w8(pb, (mmf->stereo << 7) | (1 << 4) | rate); /* (channel << 7) | (format << 4) | rate */ in mmf_write_header() 165 avio_w8(pb, (mmf->stereo << 6) | 1); /* (channel << 6) | wavenum */ in mmf_write_trailer()
|
H A D | kvag.c | 40 uint16_t stereo; member 69 hdr.stereo = AV_RL16(buf + 12); in kvag_read_header() 79 av_channel_layout_default(&par->ch_layout, !!hdr.stereo + 1); in kvag_read_header()
|
/third_party/ffmpeg/tests/fate/ |
H A D | gapless.mak | 15 FATE_GAPLESS-$(CONFIG_MOV_DEMUXER) += fate-audiomatch-afconvert-16000-stereo-he-adts fate-audiomatch-afconvert-16000-stereo-he-m4a 16 FATE_GAPLESS-$(CONFIG_MOV_DEMUXER) += fate-audiomatch-afconvert-44100-stereo-he-adts fate-audiomatch-afconvert-44100-stereo-he-m4a 17 FATE_GAPLESS-$(CONFIG_MOV_DEMUXER) += fate-audiomatch-afconvert-16000-stereo-he2-adts fate-audiomatch-afconvert-16000-stereo-he2-m4a 18 FATE_GAPLESS-$(CONFIG_MOV_DEMUXER) += fate-audiomatch-afconvert-44100-stereo-he2-adts fate-audiomatch-afconvert-44100-stereo-he2-m4a 19 FATE_GAPLESS-$(CONFIG_MOV_DEMUXER) += fate-audiomatch-afconvert-16000-stereo-lc-adts fate-audiomatch-afconvert-16000-stereo [all...] |
H A D | ac3.mak | 14 FATE_AC3 += fate-ac3-4.0-downmix-stereo 15 fate-ac3-4.0-downmix-stereo: CMD = pcm -downmix stereo -i $(TARGET_SAMPLES)/ac3/millers_crossing_4.0.ac3 16 fate-ac3-4.0-downmix-stereo: REF = $(SAMPLES)/ac3/millers_crossing_4.0_stereo_v2.pcm 26 FATE_AC3 += fate-ac3-5.1-downmix-stereo 27 fate-ac3-5.1-downmix-stereo: CMD = pcm -downmix stereo -i $(TARGET_SAMPLES)/ac3/monsters_inc_5.1_448_small.ac3 28 fate-ac3-5.1-downmix-stereo: REF = $(SAMPLES)/ac3/monsters_inc_5.1_448_small_stereo_v2.pcm 42 FATE_AC3 += fate-ac3-fixed-5.1-downmix-stereo 43 fate-ac3-fixed-5.1-downmix-stereo [all...] |
H A D | qt.mak | 13 FATE_QT-$(call ENCDEC, PCM_S16LE PCM_ALAW, MOV PCM_S16LE) += fate-qt-alaw-stereo 14 fate-qt-alaw-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-alaw.mov -f s16le 19 FATE_QT-$(call ENCDEC, PCM_S16LE ADPCM_IMA_QT, PCM_S16LE MOV, ARESAMPLE_FILTER) += fate-qt-ima4-stereo 20 fate-qt-ima4-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-ima4.mov -f s16le -af aresample 25 FATE_QT-$(call ENCDEC, PCM_S16LE MACE3, PCM_S16LE MOV, ARESAMPLE_FILTER) += fate-qt-mac3-stereo 26 fate-qt-mac3-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC3.mov -f s16le -af aresample 31 FATE_QT-$(call ENCDEC, PCM_S16LE MACE6, PCM_S16LE MOV, ARESAMPLE_FILTER) += fate-qt-mac6-stereo 32 fate-qt-mac6-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC6.mov -f s16le -af aresample 37 FATE_QT-$(call ENCDEC, PCM_S16LE PCM_MULAW, PCM_S16LE MOV) += fate-qt-ulaw-stereo 38 fate-qt-ulaw-stereo [all...] |
H A D | adpcm.mak | 70 FATE_ADPCM-$(call DEMDEC, MOV, ADPCM_IMA_WAV) += fate-adpcm-ima_wav-stereo 71 fate-adpcm-ima_wav-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-L-ms11.mov -f s16le -af aresample 82 FATE_ADPCM-$(call DEMDEC, MOV, ADPCM_MS) += fate-adpcm_ms-stereo 83 fate-adpcm_ms-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-L-ms02.mov -f s16le 97 FATE_ADPCM-$(call DEMDEC, ARGO_ASF, ADPCM_ARGO) += fate-adpcm-argo-stereo 98 fate-adpcm-argo-stereo: CMD = md5 -i $(TARGET_SAMPLES)/argo-asf/CBK2_cut.asf -f s16le -af aresample 103 FATE_ADPCM-$(call DEMDEC, KVAG, ADPCM_IMA_SSI) += fate-adpcm-ima-ssi-stereo 104 fate-adpcm-ima-ssi-stereo: CMD = md5 -i $(TARGET_SAMPLES)/kvag/credits_cut.vag -f s16le 109 FATE_ADPCM-$(call DEMDEC, APM, ADPCM_IMA_APM) += fate-adpcm-ima-apm-stereo 110 fate-adpcm-ima-apm-stereo [all...] |
H A D | pcm.mak | 10 FATE_SAMPLES_PCM-$(call DEMDEC, MOV, PCM_S16BE) += fate-pcm_s16be-stereo 11 fate-pcm_s16be-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-twos.mov -f s16le 13 FATE_SAMPLES_PCM-$(call DEMDEC, MOV, PCM_S16LE) += fate-pcm_s16le-stereo 14 fate-pcm_s16le-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-L-sowt.mov -f s16le 19 FATE_SAMPLES_PCM-$(call DEMDEC, MOV, PCM_U8) += fate-pcm_u8-stereo 20 fate-pcm_u8-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-raw.mov -f s16le -af aresample
|
/third_party/lame/frontend/ |
H A D | amiga_mpega.c | 71 mctrl.layer_1_2.stereo.quality = 2; in lame_decode_initfile() 73 mctrl.layer_1_2.stereo.freq_div = 1; in lame_decode_initfile() 75 mctrl.layer_1_2.stereo.freq_max = 48000; in lame_decode_initfile() 77 mctrl.layer_3.stereo.quality = 2; in lame_decode_initfile() 79 mctrl.layer_3.stereo.freq_div = 1; in lame_decode_initfile() 81 mctrl.layer_3.stereo.freq_max = 48000; in lame_decode_initfile() 101 mp3data->stereo = mstream->dec_channels; in lame_decode_initfile() 129 mp3data->stereo = mstream->dec_channels; in lame_decode_fromfile()
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | ac3dsp_downmix.asm | 32 ; functions to downmix from 3 to 6 channels to mono or stereo 40 %assign stereo out_channels - 1 44 %if stereo 65 %if stereo 84 %if stereo 108 %if stereo 131 %if stereo || mx_stack_0_0 134 %if stereo 137 %if stereo || mx_stack_0_0 146 %if stereo || mx_stack_0 [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dpcm.c | 218 int stereo = avctx->ch_layout.nb_channels - 1; in dpcm_decode_frame() local 222 if (stereo && (buf_size & 1)) in dpcm_decode_frame() 269 if (stereo) { in dpcm_decode_frame() 283 ch ^= stereo; in dpcm_decode_frame() 302 ch ^= stereo; in dpcm_decode_frame() 334 ch ^= stereo; in dpcm_decode_frame() 349 s->sample[stereo] += s->sol_table[n & 0x0F]; in dpcm_decode_frame() 350 s->sample[stereo] = av_clip_uint8(s->sample[stereo]); in dpcm_decode_frame() 351 *output_samples_u8++ = s->sample[stereo]; in dpcm_decode_frame() [all...] |
H A D | opus_pvq.c | 242 int stereo) in celt_compute_qn() 246 if (stereo && N == 2) in celt_compute_qn() 249 /* The upper limit ensures that in a stereo split with itheta==16384, we'll in celt_compute_qn() 495 int stereo = !!Y, split = stereo; in quant_band_template() local 510 for (i = 0; i <= stereo; i++) { in quant_band_template() 529 if (!stereo && level == 0) { in quant_band_template() 574 if (!stereo && duration >= 0 && b > cache[cache[0]] + 12 && N > 2) { in quant_band_template() 586 int itheta = quant ? celt_calc_theta(X, Y, stereo, N) : 0; in quant_band_template() 596 offset = (pulse_cap >> 1) - (stereo in quant_band_template() 241 celt_compute_qn(int N, int b, int offset, int pulse_cap, int stereo) celt_compute_qn() argument [all...] |
H A D | roqaudioenc.c | 60 av_log(avctx, AV_LOG_ERROR, "Audio must be mono or stereo\n"); in roq_dpcm_encode_init() 125 int i, stereo, data_size, ret; in roq_dpcm_encode_frame() local 131 stereo = (channels == 2); in roq_dpcm_encode_frame() 150 if (stereo) { in roq_dpcm_encode_frame() 165 bytestream_put_byte(&out, stereo ? 0x21 : 0x20); in roq_dpcm_encode_frame() 169 if (stereo) { in roq_dpcm_encode_frame()
|
H A D | atrac9dec.c | 206 GetBitContext *gb, int stereo) in parse_band_ext() 214 if (stereo) { in parse_band_ext() 236 for (int i = 0; i <= stereo; i++) { in parse_band_ext() 248 for (int i = 0; i <= stereo; i++) { in parse_band_ext() 480 const int stereo) in apply_intensity_stereo() 485 if (!stereo) in apply_intensity_stereo() 501 const int stereo) in apply_scalefactors() 503 for (int i = 0; i <= stereo; i++) { in apply_scalefactors() 544 const int stereo) in apply_band_extension() 560 for (int ch = 0; ch <= stereo; c in apply_band_extension() 205 parse_band_ext(ATRAC9Context *s, ATRAC9BlockData *b, GetBitContext *gb, int stereo) parse_band_ext() argument 479 apply_intensity_stereo(ATRAC9Context *s, ATRAC9BlockData *b, const int stereo) apply_intensity_stereo() argument 500 apply_scalefactors(ATRAC9Context *s, ATRAC9BlockData *b, const int stereo) apply_scalefactors() argument 543 apply_band_extension(ATRAC9Context *s, ATRAC9BlockData *b, const int stereo) apply_band_extension() argument 651 const int stereo = s->block_config->type[block_idx] == ATRAC9_BLOCK_TYPE_CPE; atrac9_decode_block() local 825 const int stereo = s->block_config->type[j] == ATRAC9_BLOCK_TYPE_CPE; atrac9_decode_flush() local [all...] |
H A D | libspeexdec.c | 34 SpeexStereoState stereo; member 99 /* libspeex can handle mono or stereo if initialized as stereo */ in libspeex_decode_init() 101 "Decoding as stereo.\n", channels); in libspeex_decode_init() 119 callback.data = &s->stereo; in libspeex_decode_init() 120 s->stereo = (SpeexStereoState)SPEEX_STEREO_STATE_INIT; in libspeex_decode_init() 168 speex_decode_stereo_int(output, s->frame_size, &s->stereo); in libspeex_decode_frame()
|
H A D | smacker.c | 603 int bits, stereo; in smka_decode_frame() local 626 stereo = get_bits1(&gb); in smka_decode_frame() 628 if (stereo ^ (avctx->ch_layout.nb_channels != 1)) { in smka_decode_frame() 650 for(i = 0; i < (1 << (bits + stereo)); i++) { in smka_decode_frame() 671 for(i = stereo; i >= 0; i--) in smka_decode_frame() 673 for(i = 0; i <= stereo; i++) in smka_decode_frame() 678 vlc[2*stereo].table || vlc[2*stereo+1].table) { in smka_decode_frame() 680 unsigned idx = 2 * (i & stereo); in smka_decode_frame() 698 } else if (stereo) { in smka_decode_frame() [all...] |
H A D | speexdec.c | 255 StereoState stereo; member 620 StereoState *stereo = data; in speex_std_stereo() local 623 stereo->balance = exp(sign * .25f * get_bits(gb, 5)); in speex_std_stereo() 624 stereo->e_ratio = e_ratio_quant[get_bits(gb, 2)]; in speex_std_stereo() 629 static int speex_inband_handler(GetBitContext *gb, void *state, StereoState *stereo) in speex_inband_handler() argument 634 return speex_std_stereo(gb, state, stereo); in speex_inband_handler() 920 int ret = speex_inband_handler(gb, st, &s->stereo); in nb_decode() 1508 s->stereo.balance = 1.f; in speex_decode_init() 1509 s->stereo.e_ratio = .5f; in speex_decode_init() 1510 s->stereo in speex_decode_init() 1516 speex_decode_stereo(float *data, int frame_size, StereoState *stereo) speex_decode_stereo() argument [all...] |
/third_party/lame/mpglib/ |
H A D | layer1.c | 66 assert(fr->stereo == 1 || fr->stereo == 2); in I_step_one() 68 if (fr->stereo == 2) { in I_step_one() 117 assert(fr->stereo == 1 || fr->stereo == 2); in I_step_two() 118 if (fr->stereo == 2) { in I_step_two() 212 if (fr->stereo == 1 || single == 3) in decode_layer1_frame()
|
H A D | common.c | 98 table = translate[fr->sampling_frequency][2 - fr->stereo][fr->bitrate_index]; 160 fr->stereo, fr->copyright ? "Yes" : "No", 169 static const char *modes[4] = { "stereo", "joint-stereo", "dual-channel", "mono" }; 230 fr->stereo = (fr->mode == MPG_MD_MONO) ? 1 : 2; in decode_header() 253 ssize = (fr->stereo == 1) ? 9 : 17; in decode_header() 255 ssize = (fr->stereo == 1) ? 17 : 32; in decode_header()
|
H A D | interface.c | 346 int mode, stereo, sampling_frequency, mpeg25, lsf; in sync_buffer() local 358 stereo = (mode == MPG_MD_MONO) ? 1 : 2; in sync_buffer() 364 h = ((stereo == fr->stereo) && (lsf == fr->lsf) && (mpeg25 == fr->mpeg25) && in sync_buffer() 518 mp->ssize = (mp->fr.stereo == 1) ? 9 : 17; in decodeMP3_clipchoice() 520 mp->ssize = (mp->fr.stereo == 1) ? 17 : 32; in decodeMP3_clipchoice()
|
/third_party/ffmpeg/libavresample/x86/ |
H A D | audio_mix.asm | 238 %assign stereo out_channels - 1 248 %if stereo 254 %if stereo 288 %if stereo 307 %if stereo 331 %if stereo 372 %if stereo 385 %if stereo 410 %if stereo 422 %if stereo || mx_stack_0_ [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_framepack.c | 322 AVStereo3D *stereo; in try_push_frame() local 336 stereo = av_stereo3d_create_side_data(s->input_views[i]); in try_push_frame() 337 if (!stereo) in try_push_frame() 339 stereo->type = s->format; in try_push_frame() 340 stereo->view = i == LEFT ? AV_STEREO3D_VIEW_LEFT in try_push_frame() 368 stereo = av_stereo3d_create_side_data(dst); in try_push_frame() 369 if (!stereo) { in try_push_frame() 373 stereo->type = s->format; in try_push_frame()
|
/third_party/mesa3d/include/android_stub/system/ |
H A D | radio.h | 93 bool stereo; /* stereo supported */ member 102 bool stereo; /* stereo supported */ member 170 bool stereo; /* program is stereo or not */ member
|
/third_party/lame/misc/ |
H A D | mlame_corr.c | 15 typedef signed short stereo [2]; typedef 26 void analyze_stereo ( const stereo* p, size_t len, korr_t* k ) in analyze_stereo() 47 void analyze_dstereo ( const stereo* p, size_t len, korr_t* k ) in analyze_dstereo() 159 printf ("-ms"); // low profit for joint stereo in report() 163 printf ("-ms"); // low profit for joint stereo in report() 171 stereo s [4096]; in readfile()
|