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

12345678910

/external/aac/libAACenc/src/
H A Dpsy_main.cpp442 AAC_ENCODER_ERROR FDKaacEnc_psyMain(INT channels, argument
455 INT ch; /* counts through channels */
497 for(ch = 0; ch < channels; ch++)
511 for(ch = 0; ch < channels; ch++)
540 channels,
549 for(ch = 0; ch < channels; ch++)
559 for(ch = 0; ch < channels; ch++)
563 for(ch = 0; ch < channels; ch++)
594 /* Transform and get mdctScaling for all channels and windows. */
595 for(ch = 0; ch < channels; c
[all...]
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/deqp/framework/delibs/deutil/
H A DdeSocket.c611 deBool deSocket_shutdown (deSocket* sock, deUint32 channels) argument
624 DE_ASSERT(channels != 0 && (channels & ~(deUint32)DE_SOCKETCHANNEL_BOTH) == 0);
626 /* Don't attempt to close already closed channels on partially open socket. */
627 channels &= sock->openChannels;
629 if (channels == 0)
639 if ((channels & DE_SOCKETCHANNEL_BOTH) == DE_SOCKETCHANNEL_BOTH)
641 else if (channels & DE_SOCKETCHANNEL_SEND)
643 else if (channels & DE_SOCKETCHANNEL_RECEIVE)
647 closedChannels = channels;
761 deSocket_setChannelsClosed(deSocket* sock, deUint32 channels) argument
[all...]
/external/libopus/src/
H A Dopus_decoder.c58 int channels; member in struct:OpusDecoder
82 int opus_decoder_get_size(int channels) argument
86 if (channels<1 || channels > 2)
92 celtDecSizeBytes = celt_decoder_get_size(channels);
96 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) argument
103 || (channels!=1&&channels!=2))
106 OPUS_CLEAR((char*)st, opus_decoder_get_size(channels));
117 st->stream_channels = st->channels
139 opus_decoder_create(opus_int32 Fs, int channels, int *error) argument
168 smooth_fade(const opus_val16 *in1, const opus_val16 *in2, opus_val16 *out, int overlap, int channels, const opus_val16 *window, opus_int32 Fs) argument
[all...]
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/python/cpython2/Modules/
H A Dossaudiodev.c330 return _do_ioctl_1(self->fd, args, "channels", SNDCTL_DSP_CHANNELS);
492 int fmt, channels, rate; local
510 channels = wanted_channels;
511 if (ioctl(self->fd, SNDCTL_DSP_CHANNELS, &channels) == -1) {
514 if (strict && channels != wanted_channels) {
517 "unable to set requested channels (wanted %d, got %d)",
518 wanted_channels, channels);
532 /* Construct the return value: a (fmt, channels, rate) tuple that
534 return Py_BuildValue("(iii)", fmt, channels, rate);
768 { "channels", (PyCFunctio
[all...]
/external/skia/tools/
H A Dcolorspaceinfo.cpp101 SkASSERT(gammas.channels() <= 4);
102 const char*const*const channels = kChannelNames[gammas.channels() - 1]; local
103 for (int i = 0; i < gammas.channels(); i++) {
107 SkDebugf("%s Transfer Function: sRGB\n", channels[i]);
110 SkDebugf("%s Transfer Function: Exponent 2.2\n", channels[i]);
113 SkDebugf("%s Transfer Function: Linear\n", channels[i]);
120 SkDebugf("%s Transfer Function: Exponent %.3f\n", channels[i], gammas.data(i).fValue);
124 "E = %.3f, F = %.3f, G = %.3f\n", channels[i], fn.fA, fn.fB, fn.fC, fn.fD,
128 SkDebugf("%s Transfer Function: Table (%d entries)\n", channels[
148 const int channels = gammas ? gammas->channels() : 1; local
[all...]
/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/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/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

Completed in 6723 milliseconds

12345678910