Home
last modified time | relevance | path

Searched refs:frameSize (Results 1 – 25 of 78) sorted by relevance

1234

/external/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp59 int SparcSubtarget::getAdjustedFrameSize(int frameSize) const { in getAdjustedFrameSize()
64 frameSize += 128; in getAdjustedFrameSize()
67 frameSize = RoundUpToAlignment(frameSize, 16); in getAdjustedFrameSize()
76 frameSize += 92; in getAdjustedFrameSize()
80 frameSize = RoundUpToAlignment(frameSize, 8); in getAdjustedFrameSize()
82 return frameSize; in getAdjustedFrameSize()
/external/opencv3/modules/cudacodec/src/
Dvideo_writer.cpp114 …VideoWriterImpl(const Ptr<EncoderCallBack>& callback, Size frameSize, double fps, SurfaceFormat fo…
115 …VideoWriterImpl(const Ptr<EncoderCallBack>& callback, Size frameSize, double fps, const EncoderPar…
148 …VideoWriterImpl::VideoWriterImpl(const Ptr<EncoderCallBack>& callback, Size frameSize, double fps,… in VideoWriterImpl() argument
150 frameSize_(frameSize), in VideoWriterImpl()
166 …VideoWriterImpl::VideoWriterImpl(const Ptr<EncoderCallBack>& callback, Size frameSize, double fps,… in VideoWriterImpl() argument
168 frameSize_(frameSize), in VideoWriterImpl()
486 void copyUYVYorYUY2Frame(Size frameSize, const GpuMat& src, GpuMat& dst) in copyUYVYorYUY2Frame() argument
510 stCopyYUV422.WidthInBytes = frameSize.width * 2; in copyUYVYorYUY2Frame()
511 stCopyYUV422.Height = frameSize.height; in copyUYVYorYUY2Frame()
519 void copyYV12orIYUVFrame(Size frameSize, const GpuMat& src, GpuMat& dst) in copyYV12orIYUVFrame() argument
[all …]
/external/opencv3/modules/videoio/
Dprecomp.hpp114 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…
/external/opencv3/modules/videoio/src/
Dprecomp.hpp114 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…
Dcap.cpp417 double fps, CvSize frameSize, int is_color ) in cvCreateVideoWriter() argument
428 result = cvCreateVideoWriter_FFMPEG_proxy (filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter()
433 result = cvCreateVideoWriter_VFW(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter()
438 result = cvCreateVideoWriter_MSMF(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter()
448 result = cvCreateVideoWriter_AVFoundation(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter()
453 result = cvCreateVideoWriter_QT(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter()
458 result = cvCreateVideoWriter_GStreamer(filename, fourcc, fps, frameSize, is_color); in cvCreateVideoWriter()
470 (void)frameSize; in cvCreateVideoWriter()
607 … IVideoWriter_create(const String& filename, int _fourcc, double fps, Size frameSize, bool isColor) in IVideoWriter_create() argument
611 iwriter = createMotionJpegWriter(filename, fps, frameSize, isColor); in IVideoWriter_create()
[all …]
Dcap_vfw.cpp671 double fps, CvSize frameSize, bool isColor );
677 bool createStreams( CvSize frameSize, bool isColor );
720 bool CvVideoWriter_VFW::open( const char* filename, int _fourcc, double _fps, CvSize frameSize, boo… in open() argument
729 if( frameSize.width > 0 && frameSize.height > 0 && in open()
730 !createStreams( frameSize, isColor ) ) in open()
742 bool CvVideoWriter_VFW::createStreams( CvSize frameSize, bool isColor ) in createStreams() argument
749 bmih.bmiHeader = icvBitmapHeader( frameSize.width, frameSize.height, isColor ? 24 : 8 ); in createStreams()
765 aviinfo.rcFrame.right = frameSize.width; in createStreams()
766 aviinfo.rcFrame.bottom = frameSize.height; in createStreams()
790 frameSize = frameSize; in createStreams()
[all …]
Dcap_gstreamer.cpp1041 double fps, CvSize frameSize, bool isColor );
1194 double fps, CvSize frameSize, bool is_color ) in open() argument
1201 assert (frameSize.width > 0 && frameSize.height > 0); in open()
1336 bufsize = frameSize.width * frameSize.height * 3; in open()
1340 frameSize.width, in open()
1341 frameSize.height, in open()
1347 "width", G_TYPE_INT, frameSize.width, in open()
1348 "height", G_TYPE_INT, frameSize.height, in open()
1360 bufsize = frameSize.width * frameSize.height; in open()
1364 frameSize.width, in open()
[all …]
Dcap_ffmpeg.cpp243 … virtual bool open( const char* filename, int fourcc, double fps, CvSize frameSize, bool isColor ) in open() argument
249 …Writer = icvCreateVideoWriter_FFMPEG_p( filename, fourcc, fps, frameSize.width, frameSize.height, … in open()
267 double fps, CvSize frameSize, int isColor ) in cvCreateVideoWriter_FFMPEG_proxy() argument
271 if( result->open( filename, fourcc, fps, frameSize, isColor != 0 )) in cvCreateVideoWriter_FFMPEG_proxy()
Dcap_pvapi.cpp522 tPvUint32 frameSize; in resizeCaptureFrame() local
565 PvAttrUint32Get(Camera.Handle, "TotalBytesPerFrame", &frameSize); in resizeCaptureFrame()
572 Camera.Frame.ImageBufferSize = frameSize; in resizeCaptureFrame()
579 Camera.Frame.ImageBufferSize = frameSize; in resizeCaptureFrame()
586 Camera.Frame.ImageBufferSize = frameSize; in resizeCaptureFrame()
593 Camera.Frame.ImageBufferSize = frameSize; in resizeCaptureFrame()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DEC3TrackImpl.java31 int frameSize; field in EC3TrackImpl
66 long skipped = inputStream.skip(bsi.frameSize); in parse()
67 assert skipped == bsi.frameSize; in parse()
109 frameSize += bsi.frameSize; in parse()
188 entry.frameSize = 2 * (frmsiz + 1); in readVariables()
218 entry.frameSize *= (6 / numberOfBlocksPerSyncFrame); in readVariables()
387 entry.bitrate = (int) (((double) entry.samplerate) / 1536.0 * entry.frameSize * 8); in readVariables()
393 int read = frameSize; in readSamples()
395 while (frameSize == read) { in readSamples()
397 byte[] data = new byte[frameSize]; in readSamples()
[all …]
/external/speex/libspeex/
Dnb_celp.c132 st->frameSize = mode->frameSize; in nb_encoder_init()
133 st->nbSubframes=mode->frameSize/mode->subframeSize; in nb_encoder_init()
135 st->windowSize = st->frameSize+st->subframeSize; in nb_encoder_init()
159 st->winBuf = (spx_word16_t*)speex_alloc((st->windowSize-st->frameSize)*sizeof(spx_word16_t)); in nb_encoder_init()
161 st->excBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); in nb_encoder_init()
163 st->swBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); in nb_encoder_init()
295 SPEEX_MOVE(st->excBuf, st->excBuf+st->frameSize, st->max_pitch+2); in nb_encode()
296 SPEEX_MOVE(st->swBuf, st->swBuf+st->frameSize, st->max_pitch+2); in nb_encode()
299 …highpass(in, in, st->frameSize, (st->isWideband?HIGHPASS_WIDEBAND:HIGHPASS_NARROWBAND)|HIGHPASS_IN… in nb_encode()
307 for (i=0;i<st->windowSize-st->frameSize;i++) in nb_encode()
[all …]
/external/opencv3/modules/video/src/
Dbgfg_gaussmix2.cpp127 frameSize = Size(0,0); in BackgroundSubtractorMOG2Impl()
152 frameSize = Size(0,0); in BackgroundSubtractorMOG2Impl()
185 frameSize = _frameSize; in initialize()
205 u_weight.create(frameSize.height * nmixtures, frameSize.width, CV_32FC1); in initialize()
208 u_variance.create(frameSize.height * nmixtures, frameSize.width, CV_32FC1); in initialize()
213 … u_mean.create(frameSize.height * nmixtures, frameSize.width, CV_32FC(nchannels)); //4 channels in initialize()
217 u_bgmodelUsedModes.create(frameSize, CV_8UC1); in initialize()
226 bgmodel.create( 1, frameSize.height*frameSize.width*nmixtures*(2 + nchannels), CV_32F ); in initialize()
228 bgmodelUsedModes.create(frameSize,CV_8U); in initialize()
314 Size frameSize; member in cv::BackgroundSubtractorMOG2Impl
[all …]
Dbgfg_KNN.cpp72 frameSize = Size(0,0); in BackgroundSubtractorKNNImpl()
97 frameSize = Size(0,0); in BackgroundSubtractorKNNImpl()
128 frameSize = _frameSize; in initialize()
136 int size=frameSize.height*frameSize.width; in initialize()
209 Size frameSize; member in cv::BackgroundSubtractorKNNImpl
563 …bool needToInitialize = nframes == 0 || learningRate >= 1 || image.size() != frameSize || image.ty… in apply()
602 Mat meanBackground(frameSize, CV_8UC3, Scalar::all(0)); in getBackgroundImage()
/external/opencv3/samples/gpu/
Dcascadeclassifier_nvidia_api.cpp174 Size2i frameSize; in main() local
181 frameSize.width = image.cols; in main()
182 frameSize.height = image.rows; in main()
200 frameSize.width = frame.cols; in main()
201 frameSize.height = frame.rows; in main()
272 ncvStat = process(NULL, frameSize.width, frameSize.height, in main()
284 printf("Initialized for frame size [%dx%d]\n", frameSize.width, frameSize.height); in main()
320 ncvStat = process(&gray, frameSize.width, frameSize.height, in main()
/external/opencv3/modules/cudabgsegm/src/
Dmog.cpp99 void initialize(Size frameSize, int frameType);
175 void MOGImpl::initialize(Size frameSize, int frameType) in initialize() argument
179 frameSize_ = frameSize; in initialize()
190 weight_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); in initialize()
191 sortKey_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); in initialize()
192 mean_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC(work_ch)); in initialize()
193 var_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC(work_ch)); in initialize()
Dmog2.cpp129 void initialize(Size frameSize, int frameType);
219 void MOG2Impl::initialize(cv::Size frameSize, int frameType) in initialize() argument
225 frameSize_ = frameSize; in initialize()
236 weight_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); in initialize()
237 variance_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC1); in initialize()
238 mean_.create(frameSize.height * nmixtures_, frameSize_.width, CV_32FC(work_ch)); in initialize()
/external/opencv3/modules/videostab/include/opencv2/videostab/
Doutlier_rejection.hpp64 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);
/external/opencv3/modules/cudacodec/include/opencv2/
Dcudacodec.hpp205 CV_EXPORTS Ptr<VideoWriter> createVideoWriter(const String& fileName, Size frameSize, double fps, S…
215 CV_EXPORTS Ptr<VideoWriter> createVideoWriter(const String& fileName, Size frameSize, double fps, c…
226 …er> createVideoWriter(const Ptr<EncoderCallBack>& encoderCallback, Size frameSize, double fps, Sur…
237 …er> createVideoWriter(const Ptr<EncoderCallBack>& encoderCallback, Size frameSize, double fps, con…
/external/proguard/src/proguard/gui/splash/
DSplashPanel.java208 Dimension frameSize = frame.getSize(); in main() local
209 frame.setLocation((screenSize.width - frameSize.width) / 2, in main()
210 (screenSize.height - frameSize.height) / 2); in main()
/external/aac/libAACdec/src/
Daacdecoder_lib.cpp758 if (pSi->frameSize > 0) { in aacDecoder_UpdateBitStreamCounters()
759 pSi->bitRate = (nBits * pSi->sampleRate)/pSi->frameSize; in aacDecoder_UpdateBitStreamCounters()
909 self->streamInfo.frameSize = self->streamInfo.aacSamplesPerFrame; in aacDecoder_DecodeFrame()
975 if (self->streamInfo.frameSize == 768) { in aacDecoder_DecodeFrame()
982 …self->streamInfo.frameSize = (INT)fMult((FIXP_DBL)self->streamInfo.aacSamplesPerFrame<<UP… in aacDecoder_DecodeFrame()
1008 self->streamInfo.frameSize, in aacDecoder_DecodeFrame()
1040 self->streamInfo.frameSize in aacDecoder_DecodeFrame()
1063 if (timeDataSize_extern < self->streamInfo.numChannels*self->streamInfo.frameSize) { in aacDecoder_DecodeFrame()
1069 …meData_extern, pTimeData, self->streamInfo.numChannels*self->streamInfo.frameSize*sizeof(*pTimeDat… in aacDecoder_DecodeFrame()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTestFixtures.java105 private int frameSize = 0; field in VideoCapturerAndroidTestFixtures.FakeCapturerObserver
126 frameSize = frame.length; in onByteBufferFrameCaptured()
141 frameSize = 0; in onTextureFrameCaptured()
164 int frameSize() { in frameSize() method in VideoCapturerAndroidTestFixtures.FakeCapturerObserver
166 return frameSize; in frameSize()
395 assertEquals(0, observer.frameSize()); in startStopWithDifferentResolutions()
397 assertTrue(format.frameSize() <= observer.frameSize()); in startStopWithDifferentResolutions()
/external/aac/libSBRdec/src/
Dpsdec_hybrid.h118 SCHAR frameSize; member
160 SCHAR frameSize,
/external/opencv3/modules/java/generator/src/java/
Dandroid+JavaCameraView.java145 … Size frameSize = calculateCameraFrameSize(sizes, new JavaCameraSizeAccessor(), width, height); in initializeCamera() local
148 …G, "Set preview size to " + Integer.valueOf((int)frameSize.width) + "x" + Integer.valueOf((int)fra… in initializeCamera()
149 params.setPreviewSize((int)frameSize.width, (int)frameSize.height); in initializeCamera()
/external/libpcap/msdos/
Dndis2.c77 static WORD frameSize = 0; variable
344 CALLBACK (NdisReceiveLookahead (WORD macId, WORD frameSize, in CALLBACK() argument
389 ARGSUSED (frameSize); in CALLBACK()
410 CALLBACK (NdisReceiveChain (WORD macId, WORD frameSize, WORD reqHandle, in CALLBACK() argument
444 ARGSUSED (frameSize); in CALLBACK()
712 frameSize = MAC_CHAR (handle)->maxFrameSize; in CheckMacFeatures()
853 DEBUG1 (" - Frame size: %d\n", frameSize); in NdisInit()
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp1878 UINT frameSize, in pcmDmx_ApplyFrame() argument
1926 if (frameSize == 0) { return (PCMDMX_INVALID_ARGUMENT); } in pcmDmx_ApplyFrame()
1980 offset = frameSize; /* Channel specific offset factor */ in pcmDmx_ApplyFrame()
2115 for (sample = 0; sample < frameSize; sample++) in pcmDmx_ApplyFrame()
2177 …pInPcm[CENTER_FRONT_CHANNEL] = &pPcmBuf[(frameSize-1)*inStride]; /* Considering input mapping cou… in pcmDmx_ApplyFrame()
2181 pOutLF = &pPcmBuf[outOffsetTable[LEFT_FRONT_CHANNEL]*offset+(frameSize-1)*outStride]; in pcmDmx_ApplyFrame()
2182 pOutRF = &pPcmBuf[outOffsetTable[RIGHT_FRONT_CHANNEL]*offset+(frameSize-1)*outStride]; in pcmDmx_ApplyFrame()
2185 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame()
2266 pIn[nContentCh] = &pPcmBuf[inOffsetTable[ch]*offset+(frameSize-1)*inStride]; in pcmDmx_ApplyFrame()
2267 pOut[nContentCh] = &pPcmBuf[outOffsetTable[ch]*offset+(frameSize-1)*outStride]; in pcmDmx_ApplyFrame()
[all …]

1234