Lines Matching refs:frame
309 CameraFrame *frame = new CameraFrame; in addFramePointers() local
310 frame->mBuffer = frameBuf; in addFramePointers()
311 frame->mYuv[0] = pBuf[0]; in addFramePointers()
312 frame->mYuv[1] = pBuf[1]; in addFramePointers()
313 mFrameQueue.add(frameBuf, frame); in addFramePointers()
315 … CAMHAL_LOGVB("Adding Frame=0x%x Y=0x%x UV=0x%x", frame->mBuffer, frame->mYuv[0], frame->mYuv[1]); in addFramePointers()
327 CameraFrame *frame = (CameraFrame *)mFrameQueue.valueAt(i); in removeFramePointers() local
328 … CAMHAL_LOGVB("Free Frame=0x%x Y=0x%x UV=0x%x", frame->mBuffer, frame->mYuv[0], frame->mYuv[1]); in removeFramePointers()
329 delete frame; in removeFramePointers()
412 CameraFrame *frame = NULL; in sendCommand() local
961 frame = ( CameraFrame * ) value1; in sendCommand()
963 if ( NULL != frame ) in sendCommand()
965 ret = getFrameSize(frame->mWidth, frame->mHeight); in sendCommand()
993 frame = ( CameraFrame * ) value1; in sendCommand()
995 if ( NULL != frame ) in sendCommand()
997 ret = getPictureBufferSize(*frame, value2); in sendCommand()
1025 frame = ( CameraFrame * ) value1; in sendCommand()
1027 if ( NULL != frame ) in sendCommand()
1029 ret = getFrameDataSize(frame->mLength, value2); in sendCommand()
1285 status_t BaseCameraAdapter::sendFrameToSubscribers(CameraFrame *frame) in sendFrameToSubscribers() argument
1290 if ( NULL == frame ) in sendFrameToSubscribers()
1297 if( mask & frame->mFrameMask ){ in sendFrameToSubscribers()
1305 ret = __sendFrameToSubscribers(frame, &mImageSubscribers, CameraFrame::IMAGE_FRAME); in sendFrameToSubscribers()
1310 ret = __sendFrameToSubscribers(frame, &mRawSubscribers, CameraFrame::RAW_FRAME); in sendFrameToSubscribers()
1315 … ret = __sendFrameToSubscribers(frame, &mFrameSubscribers, CameraFrame::PREVIEW_FRAME_SYNC); in sendFrameToSubscribers()
1320 … ret = __sendFrameToSubscribers(frame, &mSnapshotSubscribers, CameraFrame::SNAPSHOT_FRAME); in sendFrameToSubscribers()
1325 … ret = __sendFrameToSubscribers(frame, &mVideoSubscribers, CameraFrame::VIDEO_FRAME_SYNC); in sendFrameToSubscribers()
1330 … ret = __sendFrameToSubscribers(frame, &mFrameDataSubscribers, CameraFrame::FRAME_DATA_SYNC); in sendFrameToSubscribers()
1335 … ret = __sendFrameToSubscribers(frame, &mVideoInSubscribers, CameraFrame::REPROCESS_INPUT_FRAME); in sendFrameToSubscribers()
1342 frame->mFrameMask &= ~mask; in sendFrameToSubscribers()
1354 status_t BaseCameraAdapter::__sendFrameToSubscribers(CameraFrame* frame, in __sendFrameToSubscribers() argument
1362 frame->mFrameType = frameType; in __sendFrameToSubscribers()
1368 CameraFrame *lframe = (CameraFrame *)mFrameQueue.valueFor(frame->mBuffer); in __sendFrameToSubscribers()
1369 frame->mYuv[0] = lframe->mYuv[0]; in __sendFrameToSubscribers()
1370 frame->mYuv[1] = frame->mYuv[0] + (frame->mLength + frame->mOffset)*2/3; in __sendFrameToSubscribers()
1379 refCount = getFrameRefCount(frame->mBuffer, frameType); in __sendFrameToSubscribers()
1392 frame->mFrameType, in __sendFrameToSubscribers()
1393 ( uint32_t ) frame->mBuffer, in __sendFrameToSubscribers()
1397 frame->mCookie = ( void * ) subscribers->keyAt(i); in __sendFrameToSubscribers()
1405 callback(frame); in __sendFrameToSubscribers()
1802 status_t BaseCameraAdapter::getPictureBufferSize(CameraFrame &frame, size_t bufferCount) in getPictureBufferSize() argument