Searched refs:channels (Results 1 - 25 of 521) sorted by path

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/
H A Dffmpeg.c550 if (enc->channels != dec->channels)
556 ost->resample = av_audio_resample_init(enc->channels, dec->channels,
561 fprintf(stderr, "Can not resample %d channels @ %d Hz to %d channels @ %d Hz\n",
562 dec->channels, dec->sample_rate,
563 enc->channels, enc->sample_rate);
590 - av_fifo_size(&ost->fifo)/(ost->st->codec->channels * 2);
592 int byte_delta= ((int)idelta)*2*ist->st->codec->channels;
[all...]
H A Dffplay.c778 int ch, channels, h, h2, bgcolor, fgcolor; local
782 channels = s->audio_st->codec->channels;
783 nb_display_channels = channels;
785 n = 2 * channels;
800 i_start= x = compute_mod(s->sample_array_index - delay * channels, SAMPLE_ARRAY_SIZE);
803 for(i=0; i<1000; i+=channels){
806 int b= s->sample_array[(idx + 4*channels)%SAMPLE_ARRAY_SIZE];
807 int c= s->sample_array[(idx + 5*channels)%SAMPLE_ARRAY_SIZE];
808 int d= s->sample_array[(idx + 9*channels)
1479 int size, len, channels; local
[all...]
H A Dffserver.c1815 snprintf(parameters, sizeof(parameters), "%d channel(s), %d Hz", st->codec->channels, st->codec->sample_rate);
3273 if (av1->channels == av->channels &&
3484 CHECK_CODEC(channels) ||
3486 http_log("Codec sample_rate, channels, frame_size do not match for stream %d\n", i);
3632 if (av->channels == 0)
3633 av->channels = 1;
4086 audio_enc.channels = atoi(arg);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Daac.c161 int i, type, channels = 0; local
183 ac->output_data[channels++] = ac->che[type][i]->ch[0].ret;
185 ac->output_data[channels++] = ac->che[type][i]->ch[1].ret;
201 avctx->channels = channels;
211 * @param type speaker type/position for these channels
451 } else if (avccontext->channels > 0) {
454 if(set_default_channel_config(ac, new_che_pos, avccontext->channels - (avccontext->channels == 8)))
1276 * Parse whether channels ar
[all...]
H A Daac_ac3_parser.c80 avctx->request_channels < s->channels &&
85 avctx->channels = avctx->request_channels;
87 avctx->channels = s->channels;
H A Daac_ac3_parser.h47 int channels; member in struct:AACAC3ParseContext
H A Daac_parser.c96 hdr_info->channels = ff_mpeg4audio_channels[hdr.chan_config];
H A Daacenc.c142 {1, TYPE_CPE}, // 2 channels - channel pair
143 {2, TYPE_SCE, TYPE_CPE}, // 3 channels - center + stereo
144 {3, TYPE_SCE, TYPE_CPE, TYPE_SCE}, // 4 channels - front center + stereo + back center
145 {3, TYPE_SCE, TYPE_CPE, TYPE_CPE}, // 5 channels - front center + stereo + back stereo
146 {4, TYPE_SCE, TYPE_CPE, TYPE_CPE, TYPE_LFE}, // 6 channels - front center + stereo + back stereo + LFE
188 put_bits(&pb, 4, avctx->channels);
210 if(avctx->channels > 6){
211 av_log(avctx, AV_LOG_ERROR, "Unsupported number of channels: %d\n", avctx->channels);
225 s->samples = av_malloc(2 * 1024 * avctx->channels * sizeo
[all...]
H A Dac3.h101 uint8_t channels; member in struct:__anon480
H A Dac3_parser.c87 hdr->channels = ff_ac3_channels_tab[hdr->channel_mode] + hdr->lfe_on;
122 hdr->channels = ff_ac3_channels_tab[hdr->channel_mode] + hdr->lfe_on;
176 hdr_info->channels = hdr.channels;
H A Dac3dec.c208 if (avctx->channels > 0 && avctx->request_channels > 0 &&
209 avctx->request_channels < avctx->channels &&
211 avctx->channels = avctx->request_channels;
287 s->channels = hdr.channels;
288 s->fbw_channels = s->channels - s->lfe_on;
580 for (ch = 1; ch <= s->channels; ch++) {
600 /* zero the dithered coefficients for appropriate channels */
634 static inline void do_imdct(AC3DecodeContext *s, int channels) argument
638 if(s->out_channels==1 && channels>
[all...]
H A Dac3dec.h98 int fbw_channels; ///< number of full-bandwidth channels
99 int channels; ///< number of total channels member in struct:__anon484
104 int out_channels; ///< number of output channels
H A Dac3enc.c616 int channels = avctx->channels; local
634 /* number of channels */
635 if (channels < 1 || channels > 6)
637 s->channel_mode = channel_mode_defs[channels - 1];
638 s->lfe = (channels == 6) ? 1 : 0;
639 s->nb_all_channels = channels;
640 s->nb_channels = channels > 5 ? 5 : channels;
[all...]
H A Dadpcm.c154 if (avctx->channels > 2)
164 avctx->frame_size = (BLKSIZE - 4 * avctx->channels) * 8 / (4 * avctx->channels) + 1; /* each 16 bits sample gives one nibble */
171 avctx->block_align = 34 * avctx->channels;
174 avctx->frame_size = (BLKSIZE - 7 * avctx->channels) * 2 / avctx->channels + 2; /* each 16 bits sample gives one nibble */
179 avctx->frame_size = BLKSIZE * avctx->channels;
284 const int stride = avctx->channels;
446 st= avctx->channels == 2;
447 /* n = (BLKSIZE - 4 * avctx->channels) / (
[all...]
H A Dadxdec.c98 avctx->channels = buf[7];
100 avctx->bit_rate = avctx->sample_rate*avctx->channels*18*8/32;
128 int copysize = 18*avctx->channels - c->in_temp;
132 if (avctx->channels==1) {
141 if (avctx->channels==1) {
H A Dadxenc.c105 AV_WB32(buf+0x04,0x03120400|avctx->channels);
117 if (avctx->channels > 2)
124 // avctx->bit_rate = avctx->sample_rate*avctx->channels*18*8/32;
149 frame_bytes = enc->frame_size * 2 * enc->channels;
159 if (avctx->channels==1) {
H A Dalac.c47 * 8bit channels?
125 ptr++; /* channels? */
411 int channels; local
440 channels = get_bits(&alac->gb, 3) + 1;
441 if (channels > MAX_CHANNELS) {
442 av_log(avctx, AV_LOG_ERROR, "channels > %d not supported\n",
478 readsamplesize = alac->setinfo_sample_size - (wasted_bytes * 8) + channels - 1;
486 int16_t predictor_coef_table[channels][32];
487 int predictor_coef_num[channels];
488 int prediction_type[channels];
[all...]
H A Dalacenc.c81 for(ch=0;ch<s->avctx->channels;ch++) {
85 sptr += s->avctx->channels;
119 put_bits(&s->pbctx, 3, s->avctx->channels-1); // No. of channels -1
334 if(s->avctx->channels == 2)
339 for(i=0;i<s->avctx->channels;i++) {
356 for(i=0;i<s->avctx->channels;i++) {
388 avctx->frame_size*avctx->channels*avctx->bits_per_coded_sample)>>3;
390 s->write_sample_size = avctx->bits_per_coded_sample + avctx->channels - 1; // FIXME: consider wasted_bytes
396 AV_WB8 (alac_extradata+21, avctx->channels);
[all...]
H A Dapedec.c131 int channels; member in struct:APEContext
178 if (avctx->channels > 2) {
183 s->channels = avctx->channels;
202 avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO;
771 if (ctx->channels == 2) {
824 if (BLOCKS_PER_LOOP * 2 * avctx->channels > *data_size) {
825 av_log (avctx, AV_LOG_ERROR, "Packet size is too big to be handled in lavc! (max is %d where you have %d)\n", *data_size, s->samples * 2 * avctx->channels);
868 if ((s->channels == 1) || (s->frameflags & APE_FRAMECODE_PSEUDO_STEREO))
881 if(s->channels
[all...]
H A Dapiexample.c70 c->channels = 2;
80 samples = malloc(frame_size * 2 * c->channels);
H A Datrac3.c87 int channels; member in struct:__anon494
691 /* scale the channels by the weights */
846 for (i=0 ; i<q->channels ; i++) {
849 init_get_bits(&q->gb, databuf+((i*q->bytes_per_frame)/q->channels), (q->bits_per_frame)/q->channels);
859 for (i=0 ; i<q->channels ; i++) {
905 if (q->channels == 1) {
937 q->channels = avctx->channels;
953 q->samples_per_frame = 1024 * q->channels;
[all...]
H A Davcodec.h985 int channels; ///< number of audio channels member in struct:AVCodecContext
2261 * Decoder should decode to this many channels if it can (0 for default)
2572 * @param output_channels number of output channels
2573 * @param input_channels number of input channels
2613 * @param update_ctx If this is 0 then the context will not be modified, that way several channels can be resampled with the same context.
3030 * The number of samples read from this buffer is frame_size*channels,
H A Dcook.c833 /* The two channels are stored interleaved in decode_buffer. */
1052 q->nb_channels = avctx->channels;
1072 av_log(avctx,AV_LOG_ERROR,"Container channels != 1, report sample!\n");
1085 av_log(avctx,AV_LOG_ERROR,"Container channels != 2, report sample!\n");
1180 avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO;
H A Ddca.c171 int amode; ///< audio channels arrangement
197 int total_channels; ///< number of channels including extensions
198 int prim_channels; ///< number of primary audio channels
352 /* FIXME: channels mixing levels */
363 av_log(s->avctx, AV_LOG_DEBUG, "amode: %i (%i channels)\n",
443 av_log(s->avctx, AV_LOG_DEBUG, "prim channels: %i\n", s->prim_channels);
1218 int channels; local
1237 channels = s->prim_channels + !!s->lfe;
1249 channels = 2;
1260 but FFmpeg doesn't support that so only set the channels i
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/arm/
H A Ddsputil_neon_s.S395 @ 4 channels
452 @ 2 channels

Completed in 668 milliseconds

1234567891011>>