Lines Matching refs:frame
541 CameraFrame frame; in takePicture() local
636 frame.mFrameType = CameraFrame::IMAGE_FRAME; in takePicture()
637 frame.mBuffer = buffer; in takePicture()
638 frame.mLength = yuv422i_buff_size; in takePicture()
639 frame.mWidth = width; in takePicture()
640 frame.mHeight = height; in takePicture()
641 frame.mAlignment = width*2; in takePicture()
642 frame.mOffset = 0; in takePicture()
643 frame.mTimestamp = systemTime(SYSTEM_TIME_MONOTONIC); in takePicture()
644 frame.mFrameMask = (unsigned int)CameraFrame::IMAGE_FRAME; in takePicture()
645 frame.mQuirks |= CameraFrame::ENCODE_RAW_YUV422I_TO_JPEG; in takePicture()
646 frame.mQuirks |= CameraFrame::FORMAT_YUV422I_YUYV; in takePicture()
648 ret = setInitFrameRefCount(frame.mBuffer, frame.mFrameMask); in takePicture()
652 ret = sendFrameToSubscribers(&frame); in takePicture()
826 status_t V4LCameraAdapter::getPictureBufferSize(CameraFrame &frame, size_t bufferCount) in getPictureBufferSize() argument
835 frame.mLength = width * height * bytesPerPixel; in getPictureBufferSize()
836 frame.mWidth = width; in getPictureBufferSize()
837 frame.mHeight = height; in getPictureBufferSize()
838 frame.mAlignment = width * bytesPerPixel; in getPictureBufferSize()
841 frame.mWidth, frame.mHeight, frame.mLength, frame.mAlignment); in getPictureBufferSize()
1133 CameraFrame frame; in previewThread() local
1175 frame.mFrameType = CameraFrame::PREVIEW_FRAME_SYNC; in previewThread()
1176 frame.mBuffer = buffer; in previewThread()
1177 frame.mLength = width*height*3/2; in previewThread()
1178 frame.mAlignment = stride; in previewThread()
1179 frame.mOffset = 0; in previewThread()
1180 frame.mTimestamp = systemTime(SYSTEM_TIME_MONOTONIC); in previewThread()
1181 frame.mFrameMask = (unsigned int)CameraFrame::PREVIEW_FRAME_SYNC; in previewThread()
1185 frame.mFrameMask |= (unsigned int)CameraFrame::VIDEO_FRAME_SYNC; in previewThread()
1189 ret = setInitFrameRefCount(frame.mBuffer, frame.mFrameMask); in previewThread()
1193 ret = sendFrameToSubscribers(&frame); in previewThread()