/frameworks/av/media/libmedia/ |
IMediaPlayerService.cpp | 228 int numChannels; 231 status_t status = decode(url, &sampleRate, &numChannels, &format, heap, &size); 235 reply->writeInt32(numChannels); 248 int numChannels; 251 status_t status = decode(fd, offset, length, &sampleRate, &numChannels, &format, 256 reply->writeInt32(numChannels);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
TexImageTransform.java | 253 int numChannels = includeAlpha ? 4 : 3; 254 byte[] unsignedData = new byte[(shortData.length/2) * numChannels]; 267 unsignedData[i * numChannels + 0] = UnsignedBytes.checkedCast(r); 268 unsignedData[i * numChannels + 1] = UnsignedBytes.checkedCast(g); 269 unsignedData[i * numChannels + 2] = UnsignedBytes.checkedCast(b); 272 unsignedData[i * numChannels + 3] = UnsignedBytes.checkedCast(a);
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrack_ListenerTest.java | 81 final int numChannels = (TEST_CONF == AudioFormat.CHANNEL_CONFIGURATION_STEREO) ? 2 : 1; 83 final int bytesPerFrame = numChannels * bytesPerSample;
|
/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/Camera2/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/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));
|
/external/chromium_org/media/audio/android/ |
opensles_input.cc | 33 format_.numChannels = static_cast<SLuint32>(params.channels()); 39 if (format_.numChannels == 1) 41 else if (format_.numChannels == 2) 44 NOTREACHED() << "Unsupported number of channels: " << format_.numChannels;
|
/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); 403 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);
|
/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
|
/hardware/qcom/msm8x74/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 | 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/av/media/libstagefright/ |
OMXCodec.cpp | 502 int32_t numChannels, sampleRate, aacProfile; 503 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 515 status_t err = setAACFormat(numChannels, sampleRate, bitRate, aacProfile, isADTS); 521 int32_t numChannels, sampleRate; 522 if (meta->findInt32(kKeyChannelCount, &numChannels) 529 numChannels); 536 int32_t numChannels; 537 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); 539 setG711Format(numChannels); 543 int32_t numChannels, sampleRate 1629 int32_t numchannels = 0; local [all...] |
AudioPlayer.cpp | 122 int32_t numChannels, channelMask; 123 success = format->findInt32(kKeyChannelCount, &numChannels); 128 ALOGI_IF(numChannels > 2, 129 "source format didn't specify channel mask, using (%d) channel order", numChannels); 175 mSampleRate, numChannels, channelMask, audioFormat, 217 audio_channel_out_mask_from_count(numChannels) : channelMask;
|
/external/aac/libMpegTPDec/src/ |
tpdec_asc.cpp | 123 pPce->NumChannels = 0; 154 pPce->NumChannels += pPce->FrontElementIsCpe[i] ? 2 : 1; 161 pPce->NumChannels += pPce->SideElementIsCpe[i] ? 2 : 1; 168 pPce->NumChannels += pPce->BackElementIsCpe[i] ? 2 : 1; 171 pPce->NumEffectiveChannels = pPce->NumChannels; 176 pPce->NumChannels += 1; 227 if (pPce1->NumChannels == pPce2->NumChannels) 295 pPce->NumChannels += 1; 300 pPce->NumChannels += (channelConfig>4) ? 2 : 1 [all...] |
/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);
|