/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioHardwareInterface.h | 72 uint32_t frameSize() const { return popcount(channels())*((format()==AUDIO_FORMAT_PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); } 148 uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMeter.cpp | 58 IntSize frameSize = RenderTheme::theme().meterSizeForBounds(this, pixelSnappedIntRect(frameRect())); 59 setLogicalWidth(isHorizontalWritingMode() ? frameSize.width() : frameSize.height()); 71 IntSize frameSize = RenderTheme::theme().meterSizeForBounds(this, pixelSnappedIntRect(frame)); 72 computedValues.m_extent = isHorizontalWritingMode() ? frameSize.height() : frameSize.width();
|
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 71 size_t frameSize = mNumChannels * sizeof(int16_t); 72 size_t numFramesPerBuffer = buffer->size() / frameSize; 95 buffer->set_range(0, numFramesPerBuffer * frameSize);
|
/packages/apps/Camera/src/com/android/camera/ |
PanoUtil.java | 46 final int frameSize = width * height; 49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0;
|
/packages/apps/Camera2/src/com/android/camera/ |
PanoUtil.java | 46 final int frameSize = width * height; 49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0;
|
/external/aac/libSBRdec/src/ |
psdec_hybrid.h | 118 SCHAR frameSize; 160 SCHAR frameSize,
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebImageSkia.cpp | 69 const IntSize frameSize = decoder->frameSizeAtIndex(i); 70 if (WebSize(frameSize) == desiredSize) { 75 const int frameArea = frameSize.width() * frameSize.height(); 117 const IntSize frameSize = decoder->frameSizeAtIndex(i); 118 if (frameSize == lastSize) 120 lastSize = frameSize;
|
/frameworks/av/media/libstagefright/ |
VBRISeeker.cpp | 48 size_t frameSize; 50 if (!GetMPEGAudioFrameSize(tmp, &frameSize, &sampleRate)) { 95 seeker->mBasePos = post_id3_pos + frameSize;
|
AACExtractor.cpp | 100 size_t frameSize = 0; 121 frameSize = (header[0] & 0x3) << 11 | header[1] << 3 | header[2] >> 5; 125 if (headSize > frameSize) { 132 return frameSize; 171 size_t frameSize = 0; 176 if ((frameSize = getAdtsFrameLength(source, offset, NULL)) == 0) { 182 offset += frameSize; 301 size_t frameSize, frameSizeWithoutHeader, headerSize; 302 if ((frameSize = getAdtsFrameLength(mDataSource, mOffset, &headerSize)) == 0) { 312 frameSizeWithoutHeader = frameSize - headerSize [all...] |
/frameworks/wilhelm/src/android/ |
AacBqToPcmCbRenderer.cpp | 39 size_t frameSize = 0; 56 frameSize = (header[0] & 0x3) << 11 | header[1] << 3 | header[2] >> 5; 63 if (headSize > frameSize) { 64 SL_LOGE("AacBqToPcmCbRenderer::getAdtsFrameSize() returns 0 (frameSize %u < headSize %u)", 65 frameSize, headSize); 69 SL_LOGV("AacBqToPcmCbRenderer::getAdtsFrameSize() returns %u", frameSize); 71 return frameSize; 86 size_t frameSize = 0; 94 if ((frameSize = getAdtsFrameSize((uint8_t *)data, offset, size)) == 0) { 99 offset += frameSize; [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoUtil.java | 46 final int frameSize = width * height; 49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0;
|
/cts/tests/tests/media/src/android/media/cts/ |
IvfReader.java | 107 int frameSize = mFrameSizes[frameIndex]; 110 byte[] frame = new byte[frameSize]; 169 int frameSize = changeEndianness(mIvfFile.readInt()); 171 mFrameSizes[i] = frameSize; 173 frameHead += FRAME_HEADER_SIZE + frameSize;
|
/external/proguard/src/proguard/gui/splash/ |
SplashPanel.java | 208 Dimension frameSize = frame.getSize(); 209 frame.setLocation((screenSize.width - frameSize.width) / 2, 210 (screenSize.height - frameSize.height) / 2);
|
/external/srec/srec/include/ |
fpi_tgt.h | 51 #define NEXT_FRAME_POINTER(PKT,X) (((X) + (PKT)->frameSize) & (PKT)->stackMask) 52 #define PREV_FRAME_POINTER(PKT,X) (((X) - (PKT)->frameSize) & (PKT)->stackMask) 54 #define POINTER_GAP(PKT, LEAD, LAG) ((((LEAD) - (LAG)) & (PKT)->stackMask)/(PKT)->frameSize) 57 #define NEXT_FRAME_POINTER(PKT,X) ((X) >= (PKT)->lastFrameInStack ? (PKT)->frameStack : (X) + (PKT)->frameSize) 58 #define PREV_FRAME_POINTER(PKT,X) ((X) <= (PKT)->frameStack ? (PKT)->lastFrameInStack : (X) - (PKT)->frameSize) 61 #define POINTER_GAP(PKT, LEAD, LAG) ((LEAD) >= (LAG) ? ((LEAD) - (LAG))/(PKT)->frameSize : ((PKT)->featuresInStack + (LEAD) - (LAG))/(PKT)->frameSize) 82 int frameSize; /* How many data items per frame? */
|
/frameworks/av/media/libnbaio/ |
NBAIO.cpp | 147 size_t frameSize = Format_frameSize(mFormat); 148 ALOG_ASSERT(frameSize > 0 && frameSize <= 8); 153 double buffer[((frameSize * block) + sizeof(double) - 1) / sizeof(double)]; 184 size_t frameSize = Format_frameSize(mFormat); 185 ALOG_ASSERT(frameSize > 0 && frameSize <= 8); 190 double buffer[((frameSize * block) + sizeof(double) - 1) / sizeof(double)];
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
SoftAMR.cpp | 269 size_t frameSize = kFrameSizeWB[FT]; 272 frameSize = (frameSize + 7) / 8 + 1; 274 return frameSize; 354 size_t frameSize = getFrameSize(mode); 355 CHECK_GE(inHeader->nFilledLen, frameSize); 386 numBytesRead = frameSize;
|
/frameworks/av/media/libstagefright/rtsp/ |
AAMRAssembler.cpp | 93 size_t frameSize = isWide ? kFrameSizeWB[FT] : kFrameSizeNB[FT]; 96 frameSize = (frameSize + 7) / 8 + 1; 98 return frameSize; 193 size_t frameSize = getFrameSize(mIsWide, (toc >> 3) & 0x0f); 195 if (offset + frameSize - 1 > buffer->size()) { 206 buffer->data() + offset, frameSize - 1); 208 offset += frameSize - 1; 209 dstOffset += frameSize - 1;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
CachedFrameManager.java | 101 int frameSize = frame.getFormat().getSize(); 102 if (frameSize > mStorageCapacity) { 107 int newStorageSize = mStorageSize + frameSize; 110 newStorageSize = mStorageSize + frameSize;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
EC3TrackImpl.java | 31 int frameSize; 66 long skipped = inputStream.skip(bsi.frameSize); 67 assert skipped == bsi.frameSize; 109 frameSize += bsi.frameSize; 188 entry.frameSize = 2 * (frmsiz + 1); 218 entry.frameSize *= (6 / numberOfBlocksPerSyncFrame); 387 entry.bitrate = (int) (((double) entry.samplerate) / 1536.0 * entry.frameSize * 8); 393 int read = frameSize; 395 while (frameSize == read) [all...] |
AC3TrackImpl.java | 32 int frameSize; 175 if (frameSize == 0) { 250 frameSize = 2 * bitRateAndFrameSizeTable[frmsizecode][flag][fscod][1]; 267 byte[] data = new byte[frameSize];
|
/external/aac/libSBRenc/src/ |
ps_main.cpp | 552 const INT frameSize = hParametricStereo->noQmfSlots; 576 for (col=0; col<frameSize-HYBRID_READ_OFFSET; col++) { 587 for (col=frameSize-HYBRID_READ_OFFSET; col<frameSize; col++) {
|
ps_main.h | 158 INT frameSize;
|
sbr.h | 141 int frameSize; /* SBR framelength. */
|
/external/speex/libspeex/ |
modes.h | 118 int frameSize; /**< Size of frames used for encoding */ 137 int frameSize; /**< Size of frames used for encoding */
|
/frameworks/av/libvideoeditor/vss/src/ |
M4VSS3GPP_Clip.c | [all...] |