/external/libvorbis/lib/ |
psytune.c | 239 int framesize=2048; local 269 framesize=atoi(argv[0]); 276 pcm[0]=_ogg_malloc(framesize*sizeof(float)); 277 pcm[1]=_ogg_malloc(framesize*sizeof(float)); 278 out[0]=_ogg_calloc(framesize/2,sizeof(float)); 279 out[1]=_ogg_calloc(framesize/2,sizeof(float)); 280 work[0]=_ogg_calloc(framesize,sizeof(float)); 281 work[1]=_ogg_calloc(framesize,sizeof(float)); 282 flr[0]=_ogg_calloc(framesize/2,sizeof(float)); 283 flr[1]=_ogg_calloc(framesize/2,sizeof(float)) [all...] |
/frameworks/wilhelm/src/android/util/ |
AacAdtsExtractor.cpp | 49 size_t frameSize = 0; 74 frameSize = (header[0] & 0x3) << 11 | header[1] << 3 | header[2] >> 5; 81 if (headSize > frameSize) { 82 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns 0 (frameSize %u < headSize %u)", 83 frameSize, headSize); 87 //SL_LOGV("AacAdtsExtractor:: getFrameSize() returns %u", frameSize); 89 return frameSize; 135 size_t frameSize; 136 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) { 137 // Usually frameSize == 0 due to EOS is benign (and getFrameSize() doesn't SL_LOGE) [all...] |
/frameworks/av/media/libstagefright/ |
AMRExtractor.cpp | 92 size_t frameSize = isWide ? kFrameSizeWB[FT] : kFrameSizeNB[FT]; 95 frameSize = (frameSize + 7) / 8 + 1; 97 return frameSize; 101 off64_t offset, bool isWide, size_t *frameSize) { 109 *frameSize = getFrameSize(isWide, FT); 110 if (*frameSize == 0) { 138 size_t frameSize, numFrames = 0; 143 if (getFrameSizeByOffset(source, offset, mIsWide, &frameSize) != OK) { 153 offset += frameSize; [all...] |
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/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);
|
/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;
|
/external/llvm/lib/Target/XCore/ |
XCoreFrameLowering.cpp | 107 int FrameSize = MFI->getStackSize(); 108 assert(FrameSize%4 == 0 && "Misaligned frame size"); 109 FrameSize/=4; 111 bool isU6 = isImmU6(FrameSize); 113 if (!isU6 && !isImmU16(FrameSize)) { 115 report_fatal_error("emitPrologue Frame size too big: " + Twine(FrameSize)); 120 if (FrameSize) { 132 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(FrameSize); 142 MachineLocation SPSrc(MachineLocation::VirtualFP, -FrameSize * 4); 153 storeToStack(MBB, MBBI, XCore::LR, LRSpillOffset + FrameSize*4, dl, TII) [all...] |
/external/openssl/crypto/sha/asm/ |
sha1-mips.pl | 236 $FRAMESIZE=16; # large enough to accomodate NUBI saved registers 252 .frame $sp,$FRAMESIZE*$SZREG,$ra 255 $PTR_SUB $sp,$FRAMESIZE*$SZREG 256 $REG_S $ra,($FRAMESIZE-1)*$SZREG($sp) 257 $REG_S $fp,($FRAMESIZE-2)*$SZREG($sp) 258 $REG_S $s11,($FRAMESIZE-3)*$SZREG($sp) 259 $REG_S $s10,($FRAMESIZE-4)*$SZREG($sp) 260 $REG_S $s9,($FRAMESIZE-5)*$SZREG($sp) 261 $REG_S $s8,($FRAMESIZE-6)*$SZREG($sp) 262 $REG_S $s7,($FRAMESIZE-7)*$SZREG($sp [all...] |
sha512-mips.pl | 237 $FRAMESIZE=16*$SZ+16*$SZREG; 255 .frame $sp,$FRAMESIZE,$ra 263 $PTR_SUB $sp,$FRAMESIZE 264 $REG_S $ra,$FRAMESIZE-1*$SZREG($sp) 265 $REG_S $fp,$FRAMESIZE-2*$SZREG($sp) 266 $REG_S $s11,$FRAMESIZE-3*$SZREG($sp) 267 $REG_S $s10,$FRAMESIZE-4*$SZREG($sp) 268 $REG_S $s9,$FRAMESIZE-5*$SZREG($sp) 269 $REG_S $s8,$FRAMESIZE-6*$SZREG($sp) 270 $REG_S $s7,$FRAMESIZE-7*$SZREG($sp [all...] |
/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...] |
/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/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...] |
/external/openssl/crypto/bn/asm/ |
mips-mont.pl | 114 $FRAMESIZE=14; 145 .frame $fp,$FRAMESIZE*$SZREG,$ra 147 $PTR_SUB $sp,$FRAMESIZE*$SZREG 148 $REG_S $fp,($FRAMESIZE-1)*$SZREG($sp) 149 $REG_S $s11,($FRAMESIZE-2)*$SZREG($sp) 150 $REG_S $s10,($FRAMESIZE-3)*$SZREG($sp) 151 $REG_S $s9,($FRAMESIZE-4)*$SZREG($sp) 152 $REG_S $s8,($FRAMESIZE-5)*$SZREG($sp) 153 $REG_S $s7,($FRAMESIZE-6)*$SZREG($sp) 154 $REG_S $s6,($FRAMESIZE-7)*$SZREG($sp [all...] |
/external/openssl/crypto/aes/asm/ |
aes-mips.pl | 100 my $FRAMESIZE=16*$SZREG; 360 .frame $sp,$FRAMESIZE,$ra 368 $PTR_SUB $sp,$FRAMESIZE 369 $REG_S $ra,$FRAMESIZE-1*$SZREG($sp) 370 $REG_S $fp,$FRAMESIZE-2*$SZREG($sp) 371 $REG_S $s11,$FRAMESIZE-3*$SZREG($sp) 372 $REG_S $s10,$FRAMESIZE-4*$SZREG($sp) 373 $REG_S $s9,$FRAMESIZE-5*$SZREG($sp) 374 $REG_S $s8,$FRAMESIZE-6*$SZREG($sp) 375 $REG_S $s7,$FRAMESIZE-7*$SZREG($sp [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebImageCG.cpp | 64 const IntSize frameSize = source.frameSizeAtIndex(i); 65 if (WebSize(frameSize) == desiredSize) { 69 const int frameArea = frameSize.width() * frameSize.height();
|
WebImageSkia.cpp | 63 const IntSize frameSize = source.frameSizeAtIndex(i); 64 if (WebSize(frameSize) == desiredSize) { 69 const int frameArea = frameSize.width() * frameSize.height();
|
/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;
|
/packages/apps/Camera/jni/ |
feature_mos_jni.cpp | 211 int frameSize = width * height; 214 ImageType ovp = yvu24+frameSize; 215 ImageType oup = yvu24+frameSize+frameSize; 220 int uvp = frameSize + (j >> 1) * width; 242 int frameSize = width * height; 245 ImageType ovp = yvu24 + frameSize; 246 ImageType oup = yvu24 + frameSize + frameSize; 248 memcpy(yvu24, yuv420sp, frameSize * sizeof(unsigned char)) [all...] |
/packages/apps/Gallery2/jni_mosaic/ |
feature_mos_jni.cpp | 211 int frameSize = width * height; 214 ImageType ovp = yvu24+frameSize; 215 ImageType oup = yvu24+frameSize+frameSize; 220 int uvp = frameSize + (j >> 1) * width; 242 int frameSize = width * height; 245 ImageType ovp = yvu24 + frameSize; 246 ImageType oup = yvu24 + frameSize + frameSize; 248 memcpy(yvu24, yuv420sp, frameSize * sizeof(unsigned char)) [all...] |
/packages/apps/LegacyCamera/jni/ |
feature_mos_jni.cpp | 211 int frameSize = width * height; 214 ImageType ovp = yvu24+frameSize; 215 ImageType oup = yvu24+frameSize+frameSize; 220 int uvp = frameSize + (j >> 1) * width; 242 int frameSize = width * height; 245 ImageType ovp = yvu24 + frameSize; 246 ImageType oup = yvu24 + frameSize + frameSize; 248 memcpy(yvu24, yuv420sp, frameSize * sizeof(unsigned char)) [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
OcamlGCPrinter.cpp | 83 /// uint16_t FrameSize; 90 /// (FrameSize and LiveOffsets would overflow). FrameTablePrinter will abort if 126 uint64_t FrameSize = FI.getFrameSize(); 127 if (FrameSize >= 1<<16) { 131 "Frame size " + Twine(FrameSize) + ">= 65536.\n" 149 AP.EmitInt16(FrameSize);
|
/external/speex/libspeex/ |
nb_celp.c | 132 st->frameSize = mode->frameSize; 133 st->nbSubframes=mode->frameSize/mode->subframeSize; 135 st->windowSize = st->frameSize+st->subframeSize; 159 st->winBuf = (spx_word16_t*)speex_alloc((st->windowSize-st->frameSize)*sizeof(spx_word16_t)); 161 st->excBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); 163 st->swBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); 295 SPEEX_MOVE(st->excBuf, st->excBuf+st->frameSize, st->max_pitch+2); 296 SPEEX_MOVE(st->swBuf, st->swBuf+st->frameSize, st->max_pitch+2); 299 highpass(in, in, st->frameSize, (st->isWideband?HIGHPASS_WIDEBAND:HIGHPASS_NARROWBAND)|HIGHPASS_INPUT, st->mem_hp) [all...] |
/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/llvm/lib/Target/Mips/ |
Mips16InstrInfo.cpp | 173 // Adjust SP by FrameSize bytes. Save RA, S0, S1 174 void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize, 179 if (isUInt<11>(FrameSize)) 180 BuildMI(MBB, I, DL, get(Mips::SaveRaF16)).addImm(FrameSize); 184 int64_t Remainder = FrameSize - Base; 211 adjustStackPtrBig(SP, -FrameSize, MBB, I, Mips::V0, Mips::V1); 215 // Adjust SP by FrameSize bytes. Restore RA, S0, S1 216 void Mips16InstrInfo::restoreFrame(unsigned SP, int64_t FrameSize, 221 if (isUInt<11>(FrameSize)) 222 BuildMI(MBB, I, DL, get(Mips::RestoreRaF16)).addImm(FrameSize); [all...] |