/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMediaRecorder.java | 53 public void setAudioChannels(int numChannels) { 54 audioChannels = numChannels;
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
ImageUtils.h | 102 static void writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels = IMAGE_TYPE_NUM_CHANNELS); 107 static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
|
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/Gallery2/jni_mosaic/feature_mos/src/mosaic/ |
ImageUtils.h | 102 static void writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels = IMAGE_TYPE_NUM_CHANNELS); 107 static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
|
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/ |
ImageUtils.h | 102 static void writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels = IMAGE_TYPE_NUM_CHANNELS); 107 static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
|
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));
|
/frameworks/av/include/media/stagefright/ |
OMXCodec.h | 248 int32_t numChannels, int32_t sampleRate, int32_t bitRate, 251 void setG711Format(int32_t numChannels); 290 OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels); 398 status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]);
|
/frameworks/av/media/libstagefright/rtsp/ |
ASessionDescription.h | 54 const char *desc, int32_t *timescale, int32_t *numChannels);
|
AMPEG4ElementaryAssembler.cpp | 189 int32_t sampleRate, numChannels; 191 desc.c_str(), &sampleRate, &numChannels); 193 mChannelConfig = numChannels;
|
ASessionDescription.cpp | 278 const char *desc, int32_t *timescale, int32_t *numChannels) { 289 *numChannels = 1; 297 *numChannels = x;
|
/frameworks/wilhelm/tests/sandbox/ |
intbufq.c | 113 pcm.numChannels = 2; 140 SLuint8 numChannels = 123; 141 result = (*playerMuteSolo)->GetNumChannels(playerMuteSolo, &numChannels); 142 assert(2 == numChannels);
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
msm_audio_wma.h | 37 unsigned short numchannels; member in struct:msm_audio_wma_config_v2
|
/external/srec/audio/AudioIn/UNIX/src/ |
audioinwrapper.cpp | 61 static int numChannels = 1; 71 numChannels = channel_count; 102 (numChannels > 1) ? AUDIO_CHANNEL_IN_STEREO : AUDIO_CHANNEL_IN_MONO,
|
/external/aac/libSBRenc/src/ |
sbr_encoder.cpp | 169 UINT numChannels,/*! the number of channels for the core coder */ 189 if ( numChannels == sbrTuningTable [i].numChannels 358 UINT numChannels, /*! the core coder number of channels */ 373 config->codecSettings.nChannels = numChannels; 391 bitRate *= numChannels; 393 if (numChannels==1) { 400 idx = getSbrTuningTableIndex(bitRate,numChannels,fsCore, core, NULL); 429 if (numChannels == 1) { [all...] |
/frameworks/av/media/libstagefright/ |
OMXCodec.cpp | 507 int32_t numChannels, sampleRate, aacProfile; 508 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 520 status_t err = setAACFormat(numChannels, sampleRate, bitRate, aacProfile, isADTS); 526 int32_t numChannels, sampleRate; 527 if (meta->findInt32(kKeyChannelCount, &numChannels) 534 numChannels); 541 int32_t numChannels; 542 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 544 setG711Format(numChannels); 548 int32_t numChannels, sampleRate 1631 int32_t numchannels = 0; local [all...] |
Utils.cpp | 101 int32_t numChannels, sampleRate; 102 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 105 msg->setInt32("channel-count", numChannels); 400 int32_t numChannels; 401 if (msg->findInt32("channel-count", &numChannels)) { 402 meta->setInt32(kKeyChannelCount, numChannels);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_poly_phase_synthesis.cpp | 40 int32 numChannels, number of channels 123 int32 numChannels, 155 numChannels); 171 ptr_out + (numChannels << 5), 172 numChannels); 174 ptr_out += (numChannels << 6);
|
/frameworks/av/services/audioflinger/ |
test-resample.cpp | 40 numChannels = nc; 42 byteRate = sr * numChannels * (bits/8); 55 uint16_t numChannels; // num channels
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Buffers.c | 65 LVM_INT16 NumChannels =2; 138 (LVM_INT16)(NumChannels*pBuffer->InDelaySamples)); /* Number of delay samples, left and right */ 140 pDest += NumChannels * pBuffer->InDelaySamples; /* Update the destination pointer */ 151 (LVM_INT16)(NumChannels*NumSamples)); /* Number of input samples */ 152 pStart += NumChannels * NumSamples; /* Update the input pointer */ 176 pStart += NumChannels*SampleCount; /* Offset by the number of processed samples */ 181 (LVM_INT16)(NumChannels*NumSamples)); /* Number of input samples */ [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
Mixer.h | 72 LVM_UINT16 NumChannels);
|
/frameworks/wilhelm/src/ |
data.c | 354 switch (pDataFormat->mPCM.numChannels) { 366 SL_LOGE("%s: numChannels=%u", name, (unsigned) pDataFormat->mPCM.numChannels); 434 if (2 != pDataFormat->mPCM.numChannels) { 441 if (1 != pDataFormat->mPCM.numChannels) { 448 pDataFormat->mPCM.channelMask = pDataFormat->mPCM.numChannels == 2 ? 456 SL_LOGE("%s: channelMask=0x%x numChannels=%u", name, 457 pDataFormat->mPCM.channelMask, pDataFormat->mPCM.numChannels); 654 (1 == pSrcDataLocatorFormat->mFormat.mPCM.numChannels)) { [all...] |