/development/perftests/panorama/feature_mos/src/mosaic/ |
Pyramid.h | 36 real numChannels; // Number of channels in input images
|
ImageUtils.cpp | 311 void ImageUtils::writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) 320 if (numChannels == 3) { 322 } else if (numChannels == 1) { 327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout); 333 ImageType ImageUtils::allocateImage(int width, int height, int numChannels, short int border) 336 return (ImageType) calloc(width*height*numChannels+overallocation, sizeof(ImageTypeBase));
|
/external/chromium_org/media/audio/android/ |
opensles_input.cc | 35 format_.numChannels = static_cast<SLuint32>(params.channels()); 41 if (format_.numChannels == 1) 43 else if (format_.numChannels == 2) 46 NOTREACHED() << "Unsupported number of channels: " << format_.numChannels;
|
opensles_output.cc | 38 format_.numChannels = static_cast<SLuint32>(params.channels()); 44 if (format_.numChannels == 1) 46 else if (format_.numChannels == 2) 49 NOTREACHED() << "Unsupported number of channels: " << format_.numChannels;
|
/frameworks/av/include/media/ |
SoundPool.h | 59 int numChannels() { return mNumChannels; } 70 void init(int numChannels, int sampleRate, audio_format_t format, size_t size, 72 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; 142 int numChannels() { return mNumChannels; }
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_polyphase_filter_window.cpp | 42 int32 numChannels number of channels 117 int32 numChannels) 198 int32 k = j << (numChannels - 1); 200 outPcm[(numChannels<<5) - k] = saturate16(sum2 >> 6); 233 outPcm[(SUBBANDS_NUMBER/2)<<(numChannels-1)] = saturate16(sum2 >> 6);
|
/frameworks/av/media/libstagefright/rtsp/ |
ASessionDescription.h | 54 const char *desc, int32_t *timescale, int32_t *numChannels);
|
/frameworks/wilhelm/tests/sandbox/ |
intbufq.c | 113 pcm.numChannels = 2; 140 SLuint8 numChannels = 123; 141 result = (*playerMuteSolo)->GetNumChannels(playerMuteSolo, &numChannels); 142 assert(2 == numChannels);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Pyramid.h | 36 real numChannels; // Number of channels in input images
|
ImageUtils.cpp | 311 void ImageUtils::writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) 320 if (numChannels == 3) { 322 } else if (numChannels == 1) { 327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout); 333 ImageType ImageUtils::allocateImage(int width, int height, int numChannels, short int border) 336 return (ImageType) calloc(width*height*numChannels+overallocation, sizeof(ImageTypeBase));
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Pyramid.h | 36 real numChannels; // Number of channels in input images
|
ImageUtils.cpp | 311 void ImageUtils::writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) 320 if (numChannels == 3) { 322 } else if (numChannels == 1) { 327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout); 333 ImageType ImageUtils::allocateImage(int width, int height, int numChannels, short int border) 336 return (ImageType) calloc(width*height*numChannels+overallocation, sizeof(ImageTypeBase));
|
/external/aac/libSBRenc/src/ |
sbr_encoder.cpp | 165 UINT numChannels,/*! the number of channels for the core coder */ 182 if ( numChannels == sbrTuningTable [i].numChannels 397 UINT numChannels, /*! the core coder number of channels */ 411 config->codecSettings.nChannels = numChannels; 428 bitRate *= numChannels; 430 if (numChannels==1) { 437 idx = getSbrTuningTableIndex(bitRate,numChannels,sampleRateCore, core, NULL); 481 if (numChannels == 1) { [all...] |
/frameworks/wilhelm/src/ |
data.c | 378 switch (pDataFormat->mPCM.numChannels) { 393 SL_LOGE("%s: numChannels=%u", name, (unsigned) pDataFormat->mPCM.numChannels); 470 if (2 != pDataFormat->mPCM.numChannels) { 477 if (1 != pDataFormat->mPCM.numChannels) { 482 if (4 != pDataFormat->mPCM.numChannels) { 487 if (6 != pDataFormat->mPCM.numChannels) { 492 if (8 != pDataFormat->mPCM.numChannels) { 499 pDataFormat->mPCM.channelMask = pDataFormat->mPCM.numChannels == 2 ? 507 SL_LOGE("%s: channelMask=0x%x numChannels=%u", name [all...] |
/frameworks/av/include/media/stagefright/ |
OMXCodec.h | 248 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 251 status_t setAC3Format(int32_t numChannels, int32_t sampleRate); 253 void setG711Format(int32_t numChannels); 292 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels); 408 status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]);
|
/frameworks/av/media/libmedia/ |
IMediaPlayerService.cpp | 232 int numChannels; 239 &numChannels, 246 reply->writeInt32(numChannels); 259 int numChannels; 262 status_t status = decode(fd, offset, length, &sampleRate, &numChannels, &format, 267 reply->writeInt32(numChannels);
|
SoundPool.cpp | 497 int numChannels; 508 &numChannels, 513 status = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format, 523 ALOGV("pointer = %p, size = %zu, sampleRate = %u, numChannels = %d", 524 mHeap->getBase(), mSize, sampleRate, numChannels); 532 if ((numChannels < 1) || (numChannels > 2)) { 533 ALOGE("Sample channel count (%d) out of range", numChannels); 540 mNumChannels = numChannels; 590 int numChannels = sample->numChannels() [all...] |
JetPlayer.cpp | 92 audio_channel_out_mask_from_count(pLibConfig->numChannels), 166 new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * MIX_NUM_BUFFERS]; 207 p += count * pLibConfig->numChannels; 208 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrack_ListenerTest.java | 102 final int numChannels = (TEST_CONF == AudioFormat.CHANNEL_CONFIGURATION_STEREO) ? 2 : 1; 104 final int bytesPerFrame = numChannels * bytesPerSample;
|
/external/bluetooth/bluedroid/embdrv/sbc/decoder/include/ |
oi_codec_sbc.h | 184 * or decode streams of numChannels channels, using numBuffers buffers. 188 #define CODEC_DATA_WORDS(numChannels, numBuffers) \ 190 (sizeof(OI_INT32) * SBC_MAX_BLOCKS * numChannels * SBC_MAX_BANDS) \
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMediaRecorder.java | 53 public void setAudioChannels(int numChannels) { 54 audioChannels = numChannels;
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
DrcPresModeWrap.cpp | 96 if (mStreamNrOutChan != pStreamInfo->numChannels) { 97 mStreamNrOutChan = pStreamInfo->numChannels; 100 ALOGV("DRC presentation mode wrapper: numChannels is %d\n", mStreamNrOutChan);
|
/external/aac/libSBRdec/include/ |
sbrdecoder.h | 300 * \param numChannels Pointer to a buffer holding the number of channels in time data buffer. 311 int *numChannels,
|
/external/sonivox/arm-fm-22k/host_src/ |
eas_main.c | 123 wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM) * 8); 136 for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels) 280 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS; 438 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "\tNumber of channels: %d\n", pLibConfig->numChannels); */ }
|
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_main.c | 123 wFile = WaveFileCreate(outputFile, pLibConfig->numChannels, pLibConfig->sampleRate, sizeof(EAS_PCM) * 8); 136 for (i = 0, p = buffer; i < NUM_BUFFERS; i++, p+= pLibConfig->mixBufferSize * pLibConfig->numChannels) 280 bufferSize = pLibConfig->mixBufferSize * pLibConfig->numChannels * (EAS_I32)sizeof(EAS_PCM) * NUM_BUFFERS; 438 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "\tNumber of channels: %d\n", pLibConfig->numChannels); */ }
|