/external/webrtc/webrtc/modules/video_coding/ |
jitter_estimator_tests.cc | 54 uint32_t FrameSize() { return 1000 + Delay(); } 68 regular_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); 70 low_rate_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); 85 regular_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); 87 low_rate_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); 102 regular_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); 104 low_rate_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); 119 regular_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); 121 low_rate_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); 134 regular_estimator_.UpdateEstimate(low_gen.Delay(), low_gen.FrameSize()); [all...] |
/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 %zu < headSize %zu)", 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...] |
/external/llvm/lib/Target/Sparc/ |
SparcSubtarget.cpp | 59 int SparcSubtarget::getAdjustedFrameSize(int frameSize) const { 64 frameSize += 128; 67 frameSize = RoundUpToAlignment(frameSize, 16); 76 frameSize += 92; 80 frameSize = RoundUpToAlignment(frameSize, 8); 82 return frameSize;
|
/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) { 112 *frameSize = getFrameSize(isWide, FT); 113 if (*frameSize == 0) { 141 size_t frameSize, numFrames = 0; 146 status_t status = getFrameSizeByOffset(source, offset, mIsWide, &frameSize); 159 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) { 184 offset += frameSize; 303 size_t frameSize, frameSizeWithoutHeader, headerSize; 304 if ((frameSize = getAdtsFrameLength(mDataSource, mOffset, &headerSize)) == 0) { 314 frameSizeWithoutHeader = frameSize - headerSize [all...] |
SkipCutBuffer.cpp | 38 size_t frameSize = num16BitChannels * 2; 39 if (skip > INT32_MAX / frameSize || cut > INT32_MAX / frameSize 40 || cut * frameSize > INT32_MAX - 4096) { 45 skip *= frameSize; 46 cut *= frameSize;
|
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 72 size_t frameSize = mNumChannels * sizeof(int16_t); 73 size_t numFramesPerBuffer = buffer->size() / frameSize; 96 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/opencv3/modules/cudacodec/src/ |
video_writer.cpp | 114 VideoWriterImpl(const Ptr<EncoderCallBack>& callback, Size frameSize, double fps, SurfaceFormat format, CodecType codec = H264); 115 VideoWriterImpl(const Ptr<EncoderCallBack>& callback, Size frameSize, double fps, const EncoderParams& params, SurfaceFormat format, CodecType codec = H264); 148 VideoWriterImpl::VideoWriterImpl(const Ptr<EncoderCallBack>& callback, Size frameSize, double fps, SurfaceFormat format, CodecType codec) : 150 frameSize_(frameSize), 166 VideoWriterImpl::VideoWriterImpl(const Ptr<EncoderCallBack>& callback, Size frameSize, double fps, const EncoderParams& params, SurfaceFormat format, CodecType codec) : 168 frameSize_(frameSize), 486 void copyUYVYorYUY2Frame(Size frameSize, const GpuMat& src, GpuMat& dst) 510 stCopyYUV422.WidthInBytes = frameSize.width * 2; 511 stCopyYUV422.Height = frameSize.height; 519 void copyYV12orIYUVFrame(Size frameSize, const GpuMat& src, GpuMat& dst [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/opencv3/modules/videoio/ |
precomp.hpp | 114 double fps, CvSize frameSize, int is_color ); 116 double fps, CvSize frameSize, int is_color ); 121 double fps, CvSize frameSize, int is_color ); 144 double fps, CvSize frameSize, int is_color ); 150 double fps, CvSize frameSize, int is_color ); 154 double fps, CvSize frameSize, int is_color ); 160 double fps, CvSize frameSize, int is_color ); 188 Ptr<IVideoWriter> createMotionJpegWriter( const String& filename, double fps, Size frameSize, bool iscolor );
|
/external/opencv3/modules/videoio/src/ |
precomp.hpp | 114 double fps, CvSize frameSize, int is_color ); 116 double fps, CvSize frameSize, int is_color ); 121 double fps, CvSize frameSize, int is_color ); 144 double fps, CvSize frameSize, int is_color ); 150 double fps, CvSize frameSize, int is_color ); 154 double fps, CvSize frameSize, int is_color ); 160 double fps, CvSize frameSize, int is_color ); 188 Ptr<IVideoWriter> createMotionJpegWriter( const String& filename, double fps, Size frameSize, bool iscolor );
|
cap.cpp | 417 double fps, CvSize frameSize, int is_color ) 428 result = cvCreateVideoWriter_FFMPEG_proxy (filename, fourcc, fps, frameSize, is_color); 433 result = cvCreateVideoWriter_VFW(filename, fourcc, fps, frameSize, is_color); 438 result = cvCreateVideoWriter_MSMF(filename, fourcc, fps, frameSize, is_color); 443 result = cvCreateVideoWriter_XINE(filename, fourcc, fps, frameSize, is_color); 448 result = cvCreateVideoWriter_AVFoundation(filename, fourcc, fps, frameSize, is_color); 453 result = cvCreateVideoWriter_QT(filename, fourcc, fps, frameSize, is_color); 458 result = cvCreateVideoWriter_GStreamer(filename, fourcc, fps, frameSize, is_color); 470 (void)frameSize; 607 static Ptr<IVideoWriter> IVideoWriter_create(const String& filename, int _fourcc, double fps, Size frameSize, bool isColor [all...] |
cap_ffmpeg.cpp | 243 virtual bool open( const char* filename, int fourcc, double fps, CvSize frameSize, bool isColor ) 249 ffmpegWriter = icvCreateVideoWriter_FFMPEG_p( filename, fourcc, fps, frameSize.width, frameSize.height, isColor ); 267 double fps, CvSize frameSize, int isColor ) 271 if( result->open( filename, fourcc, fps, frameSize, isColor != 0 ))
|
/frameworks/av/media/libnbaio/ |
NBAIO.cpp | 70 size_t frameSize = Format_frameSize(mFormat); 71 ALOG_ASSERT(frameSize > 0 && frameSize <= 8); 76 double buffer[((frameSize * block) + sizeof(double) - 1) / sizeof(double)]; 106 size_t frameSize = Format_frameSize(mFormat); 107 ALOG_ASSERT(frameSize > 0 && frameSize <= 8); 112 double buffer[((frameSize * block) + sizeof(double) - 1) / sizeof(double)];
|
/frameworks/wilhelm/src/android/ |
AacBqToPcmCbRenderer.cpp | 40 size_t frameSize = 0; 57 frameSize = (header[0] & 0x3) << 11 | header[1] << 3 | header[2] >> 5; 64 if (headSize > frameSize) { 65 SL_LOGE("AacBqToPcmCbRenderer::getAdtsFrameSize() returns 0 (frameSize %zu < headSize %zu)", 66 frameSize, headSize); 70 SL_LOGV("AacBqToPcmCbRenderer::getAdtsFrameSize() returns %u", frameSize); 72 return frameSize; 87 size_t frameSize = 0; 95 if ((frameSize = getAdtsFrameSize((uint8_t *)data, offset, size)) == 0) { 100 offset += frameSize; [all...] |
/external/libopus/tests/ |
test_opus_padding.c | 40 #define FRAMESIZE 5760 49 opus_int16 *out = malloc(FRAMESIZE*CHANNELS*sizeof(*out)); 62 result = opus_decode(decoder, in, PACKETSIZE, out, FRAMESIZE, 0);
|
/external/opencv3/modules/videostab/include/opencv2/videostab/ |
outlier_rejection.hpp | 64 Size frameSize, InputArray points0, InputArray points1, OutputArray mask) = 0; 71 Size frameSize, InputArray points0, InputArray points1, OutputArray mask); 86 Size frameSize, InputArray points0, InputArray points1, OutputArray mask);
|
/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/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...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
SoftAMR.cpp | 289 size_t frameSize = kFrameSizeWB[FT]; 292 frameSize = (frameSize + 7) / 8 + 1; 294 return frameSize; 353 size_t frameSize = WmfDecBytesPerFrame[mode] + 1; 355 if (inHeader->nFilledLen < frameSize) { 356 ALOGE("b/27662364: expected %zu bytes vs %u", frameSize, inHeader->nFilledLen); 410 size_t frameSize = getFrameSize(mode); 411 if (inHeader->nFilledLen < frameSize) { 412 ALOGE("b/27662364: expected %zu bytes vs %u", frameSize, inHeader->nFilledLen) [all...] |
/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...] |
/external/opencv3/modules/cudabgsegm/src/ |
mog.cpp | 99 void initialize(Size frameSize, int frameType); 175 void MOGImpl::initialize(Size frameSize, int frameType) 179 frameSize_ = frameSize; 190 weight_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); 191 sortKey_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); 192 mean_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC(work_ch)); 193 var_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC(work_ch));
|
/cts/tests/tests/media/src/android/media/cts/ |
IvfReader.java | 108 int frameSize = mFrameSizes[frameIndex]; 111 byte[] frame = new byte[frameSize]; 170 int frameSize = changeEndianness(mIvfFile.readInt()); 172 mFrameSizes[i] = frameSize; 174 frameHead += FRAME_HEADER_SIZE + frameSize;
|