Searched defs:channels (Results 126 - 150 of 228) sorted by relevance

12345678910

/external/libopus/src/
H A Dopus_demo.c47 fprintf(stderr, "Usage: %s [-e] <application> <sampling rate (Hz)> <channels (1/2)> "
49 fprintf(stderr, " %s -d <sampling rate (Hz)> <channels (1/2)> "
200 static OpusEncoder *ms_opus_encoder_create(opus_int32 Fs, int channels, int application, int *error)
204 return (OpusEncoder *)opus_multistream_surround_encoder_create(Fs, channels, 1, &streams, &coupled_streams, mapping, application, error);
206 static OpusDecoder *ms_opus_decoder_create(opus_int32 Fs, int channels, int *error)
212 coupled_streams = channels==2;
213 return (OpusDecoder *)opus_multistream_decoder_create(Fs, channels, streams, coupled_streams, mapping, error);
226 int frame_size, channels; local
322 channels = atoi(argv[args]);
325 if (channels <
[all...]
H A Dopus_multistream_encoder.c92 /* then opus_val32 window_mem[channels*120]; */
93 /* then opus_val32 preemph_mem[channels]; */
155 static void channel_pos(int channels, int pos[8]) argument
158 if (channels==4)
164 } else if (channels==3||channels==5||channels==6)
172 } else if (channels==7)
181 } else if (channels==8)
234 int len, int overlap, int channels, in
233 surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_in, int arch ) argument
385 opus_multistream_surround_encoder_get_size(int channels, int mapping_family) argument
427 opus_multistream_encoder_init_impl( OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, MappingType mapping_type ) argument
483 OPUS_CLEAR(ms_get_preemph_mem(st), channels); local
490 opus_multistream_encoder_init( OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application ) argument
505 opus_multistream_surround_encoder_init( OpusMSEncoder *st, opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application ) argument
580 opus_multistream_encoder_create( opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int *error ) argument
617 opus_multistream_surround_encoder_create( opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application, int *error ) argument
864 int channels; local
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler_util.c59 * The purpose of this function is to standardize the number channels used by
61 * should have 4 channels initialized with values.
62 * @param channels The number of channels in initial_value that have a
64 * @return An initialized swizzle that has all of the unused channels set to
67 unsigned int rc_init_swizzle(unsigned int initial_value, unsigned int channels) argument
70 for (i = channels; i < 4; i++) {
/external/opencv/cv/src/
H A Dcvpyramids.cpp439 int channels, int *bufSize )
449 if( channels != 1 && channels != 3 )
452 bufStep = 2*roiWidth*channels;
466 int channels, int *bufSize )
476 if( channels != 1 && channels != 3 )
479 bufStep = 2*roiWidth*channels;
497 arrtype *dst, int dst_step, CvSize dst_size, int channels ) \
508 int Wn = W*channels; \
438 icvPyrUpG5x5_GetBufSize( int roiWidth, CvDataType dataType, int channels, int *bufSize ) argument
465 icvPyrDownG5x5_GetBufSize( int roiWidth, CvDataType dataType, int channels, int *bufSize ) argument
[all...]
/external/opencv/
H A Dcvjni.cpp144 int channels = CV_MAT_CN( mat_image->type ); local
149 mat_image->height, ipl_depth, channels, strm);
259 int channels, ipl_depth; local
261 channels = CV_MAT_CN( mat_image->type );
268 mat_image->height, ipl_depth, channels, strm);
753 int channels, ipl_depth;
755 channels = CV_MAT_CN( mat_image->type );
761 mat_image->height, ipl_depth, channels, m_strm);
/external/pdfium/samples/
H A Dimage_diff_png.cc152 int filter_type, channels; local
205 channels = png_get_channels(png_ptr, info_ptr);
208 if (channels == 3) {
226 } else if (channels == 4) {
/external/tremolo/Tremolo/
H A Dvorbisfile.c1558 have to have the same number of channels or sampling rate.
1583 long channels; local
1589 channels=vf->vi.channels;
1590 samples=vorbis_dsp_pcmout(vf->vd,buffer,(bytes_req>>1)/channels);
1596 return samples*2*channels;
/external/webrtc/talk/media/webrtc/
H A Dwebrtcvoiceengine_unittest.cc427 EXPECT_EQ(2, codecs[0].channels);
489 gcodec.channels = 1;
532 // Even without stereo parameters, recv codecs still specify channels = 2.
533 EXPECT_EQ(2, opus.channels);
555 // Even when stereo is off, recv codecs still specify channels = 2.
556 EXPECT_EQ(2, opus.channels);
578 EXPECT_EQ(2, opus.channels);
602 gcodec.channels = 1;
608 gcodec.channels = 1;
625 gcodec.channels
3217 cricket::VoiceMediaChannel* channels[32]; local
[all...]
/external/webrtc/webrtc/modules/media_file/
H A Dmedia_file_utility.cc256 size_t channels,
262 codec_info_.channels = channels;
420 const size_t bytesRequested = (codec_info_.channels == 2) ?
444 (codec_info_.channels == 2) ? _tempData : (uint8_t*)outData,
457 if(codec_info_.channels == 2)
504 if(codec_info_.channels != 2)
666 size_t channels = (codecInst.channels == 0) ? 1 : codecInst.channels; local
255 InitWavCodec(uint32_t samplesPerSec, size_t channels, uint32_t bitsPerSample, uint32_t formatTag) argument
730 WriteWavHeader( OutStream& wav, uint32_t freq, size_t bytesPerSample, size_t channels, uint32_t format, size_t lengthInBytes) argument
760 size_t channels = (codec_info_.channels == 0) ? 1 : codec_info_.channels; local
[all...]
/external/webrtc/webrtc/p2p/base/
H A Dfaketransportcontroller.h359 const ChannelMap& channels() const { return channels_; } function in class:cricket::FakeTransport
/external/ImageMagick/MagickCore/
H A Dprofile.c363 const size_t channels)
382 pixels[i]=(unsigned short *) AcquireQuantumMemory(columns,channels*
353 AcquirePixelThreadSet(const size_t columns, const size_t channels) argument
/external/aac/libAACenc/src/
H A Daacenc_tns.cpp233 const INT channels,
244 tnsConfigTab = &tnsInfoTab[i].paramTab[(channels==1)?0:1];
343 input: bitrate, samplerate, number of channels,
353 INT channels,
366 if (channels <= 0)
433 const TNS_PARAMETER_TABULATED* pCfg = FDKaacEnc_GetTnsParam(bitRate, channels, ldSbrPresent);
942 /* if coefficients diverge too much between channels, do not synchronize */
231 FDKaacEnc_GetTnsParam( const INT bitRate, const INT channels, const INT sbrLd ) argument
351 FDKaacEnc_InitTnsConfiguration(INT bitRate, INT sampleRate, INT channels, INT blockType, INT granuleLength, INT isLowDelay, INT ldSbrPresent, TNS_CONFIG *tC, PSY_CONFIGURATION *pC, INT active, INT useTnsPeak) argument
H A Dmetadata_compressor.cpp102 #define MAX_DRC_CHANNELS (8) /*!< Max number of audio input channels. */
174 UINT channels; /*!< Number of channels. */ member in struct:DRC_COMP
175 UINT fullChannels; /*!< Number of full range channels. */
500 /* Set number of channels and channel offsets. */
576 drcComp->channels = channelMapping.nChannels;
681 for (c = 0; c < (int)drcComp->channels; c++) {
703 FIXP_DBL x = FX_PCM2FX_DBL((FIXP_PCM)pSamples[i*drcComp->channels]) >> WEIGHTING_FILTER_SHIFT;
731 for (c = 0; c < (int)drcComp->channels; c++) {
746 accu += fPow2Div2((FIXP_PCM)pSamples[i*drcComp->channels])>>(granuleShif
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dfirewire-cdev.h680 * and the channels are selected by %FW_CDEV_IOC_SET_ISO_CHANNELS.
706 * struct fw_cdev_set_iso_channels - Select channels in multichannel reception
707 * @channels: Bitmask of channels to listen to
710 * @channels is the bitwise or of 1ULL << n for each channel n to listen to.
713 * on a channel in @channels. In that case, the bitmask of all unoccupied
714 * channels is returned in @channels.
717 __u64 channels; member in struct:fw_cdev_set_iso_channels
927 * @channels
970 __u64 channels; member in struct:fw_cdev_allocate_iso_resource
[all...]
/external/libopus/celt/
H A Dcelt_decoder.c70 int channels; member in struct:OpusCustomDecoder
95 celt_sig _decode_mem[1]; /* Size = channels*(DECODE_BUFFER_SIZE+mode->overlap) */
96 /* opus_val16 lpc[], Size = channels*LPC_ORDER */
103 int celt_decoder_get_size(int channels) argument
106 return opus_custom_decoder_get_size(mode, channels);
109 OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_get_size(const CELTMode *mode, int channels) argument
112 + (channels*(DECODE_BUFFER_SIZE+mode->overlap)-1)*sizeof(celt_sig)
113 + channels*LPC_ORDER*sizeof(opus_val16)
119 CELTDecoder *opus_custom_decoder_create(const CELTMode *mode, int channels, int *error) argument
122 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels));
135 celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels) argument
148 opus_custom_decoder_init(CELTDecoder *st, const CELTMode *mode, int channels) argument
[all...]
/external/libpng/contrib/libtests/
H A Dmakepng.c34 * 2 channels: the color channel increases in luminosity from top to bottom, the
37 * 3 channels: linear combinations of, from the top-left corner clockwise,
40 * 4 channels: linear combinations of, from the top-left corner clockwise,
58 * is generated with all channels equal to the low bits of 0x0101.
60 * Image size is determined by the final pixel depth in bits, i.e. channels x
187 int channels = 1; local
190 channels = 3;
193 return channels + 1;
196 return channels;
553 /* 2 channels
[all...]
/external/libpng/
H A Dpngwrite.c818 row_info.channels = png_ptr->usr_channels;
820 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels);
825 png_debug1(3, "row_info->channels = %d", row_info.channels);
1528 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; local
1542 aindex = channels;
1544 aindex = channels;
1555 row_end = output_row + image->width * (channels+1);
1578 c = channels;
1619 /* Given 16-bit input (1 to 4 channels) writ
1686 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; local
1780 const int channels = PNG_IMAGE_SAMPLE_CHANNELS(format); local
1941 const unsigned int channels = PNG_IMAGE_PIXEL_CHANNELS(image->format); local
[all...]
/external/libvorbis/lib/
H A Dvorbisenc.c554 /* residue 2 bundles together multiple channels; used by stereo
555 and surround. Count the channels in use */
558 channels/samples. */
564 for(k=0;k<vi->channels;k++)
624 int ch=vi->channels;
862 long channels,
871 vi->channels=channels;
903 long channels,
913 hi->setup=get_setup_template(channels,rat
861 vorbis_encode_setup_setting(vorbis_info *vi, long channels, long rate) argument
902 vorbis_encode_setup_vbr(vorbis_info *vi, long channels, long rate, float quality) argument
923 vorbis_encode_init_vbr(vorbis_info *vi, long channels, long rate, float base_quality ) argument
943 vorbis_encode_setup_managed(vorbis_info *vi, long channels, long rate, long max_bitrate, long nominal_bitrate, long min_bitrate) argument
990 vorbis_encode_init(vorbis_info *vi, long channels, long rate, long max_bitrate, long nominal_bitrate, long min_bitrate) argument
[all...]
/external/pdfium/third_party/libpng16/
H A Dpngwrite.c818 row_info.channels = png_ptr->usr_channels;
820 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels);
825 png_debug1(3, "row_info->channels = %d", row_info.channels);
1528 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; local
1542 aindex = channels;
1544 aindex = channels;
1555 row_end = output_row + image->width * (channels+1);
1578 c = channels;
1619 /* Given 16-bit input (1 to 4 channels) writ
1686 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; local
1780 const int channels = PNG_IMAGE_SAMPLE_CHANNELS(format); local
1941 const unsigned int channels = PNG_IMAGE_PIXEL_CHANNELS(image->format); local
[all...]
/external/skia/third_party/libpng/
H A Dpngwrite.c818 row_info.channels = png_ptr->usr_channels;
820 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels);
825 png_debug1(3, "row_info->channels = %d", row_info.channels);
1528 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; local
1542 aindex = channels;
1544 aindex = channels;
1555 row_end = output_row + image->width * (channels+1);
1578 c = channels;
1619 /* Given 16-bit input (1 to 4 channels) writ
1686 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; local
1780 const int channels = PNG_IMAGE_SAMPLE_CHANNELS(format); local
1941 const unsigned int channels = PNG_IMAGE_PIXEL_CHANNELS(image->format); local
[all...]
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_synth.h96 /* use the following values to specify unassigned channels or voices */
320 S_SYNTH_CHANNEL channels[NUM_SYNTH_CHANNELS]; member in struct:s_synth_tag
/external/svox/pico/tts/
H A Dcom_svox_picottsengine.cpp1295 * @channels - reference to number of channels
1299 int& channels)
1304 channels = 1;
1298 setAudioFormat(tts_audio_format& encoding, uint32_t& rate, int& channels) argument
/external/syslinux/gpxe/src/drivers/net/ath5k/
H A Dath5k.c202 struct net80211_channel *channels,
477 DBG("ath5k: can't get channels\n");
567 struct net80211_channel *channels,
601 channels[count].center_freq = freq;
602 channels[count].maxpower = 0; /* use regulatory */
603 channels[count].band = (chfreq == CHANNEL_2GHZ) ?
608 channels[count].hw_value = chfreq | CHANNEL_OFDM;
612 channels[count].hw_value = chfreq |
616 channels[count].hw_value = CHANNEL_B;
635 max_c = sizeof(sc->hwinfo->channels) / sizeo
566 ath5k_copy_channels(struct ath5k_hw *ah, struct net80211_channel *channels, unsigned int mode, unsigned int max) argument
[all...]
/external/syslinux/gpxe/src/include/gpxe/
H A Dnet80211.h274 /** The maximum number of channels we allow to be configured simultaneously */
301 * channels its net80211_register() call indicated it could
395 * MHz. Adjacent channels will overlap, since 802.11
397 * commonly, channels 1, 6, and 11 are used.
400 * the frequency; channel 0 is 5000 MHz, and channels are
403 * seen. Most channels are not legal for use.
497 /** List of RF channels supported by the card */
498 struct net80211_channel channels[NET80211_MAX_CHANNELS]; member in struct:net80211_hw_info
500 /** Number of supported channels */
513 /** Estimate of the time required to change channels, i
806 struct net80211_channel channels[NET80211_MAX_CHANNELS]; member in struct:net80211_device
[all...]
/external/webrtc/webrtc/modules/rtp_rtcp/include/
H A Drtp_rtcp_defines.h38 size_t channels; member in struct:webrtc::AudioPayload
207 * channels - number of channels in codec (1 = mono, 2 = stereo)
213 const size_t channels,
336 const size_t channels,

Completed in 692 milliseconds

12345678910