Searched refs:frame (Results 1 - 25 of 42) sorted by relevance

12

/hardware/ti/omap4xxx/camera/
H A DAppCallbackNotifier.cpp299 ///Received a frame from one of the frame providers
300 //CAMHAL_LOGDA("Notification Thread received a frame from frame provider (CameraAdapter)");
690 void AppCallbackNotifier::copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType) argument
703 picture = mRequestMemory(-1, frame->mLength, 1, NULL);
708 src = (void *) ((unsigned int) frame->mBuffer + frame->mOffset);
709 memcpy(dest, src, frame->mLength);
715 mFrameProvider->returnFrame(frame
726 copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType) argument
837 CameraFrame *frame; local
1182 CameraFrame *frame; local
1209 CameraFrame *frame; local
1702 void *frame = NULL; local
[all...]
H A DBaseCameraAdapter.cpp230 CameraFrame *frame = new CameraFrame; local
231 frame->mBuffer = frameBuf;
232 frame->mYuv[0] = pBuf[0];
233 frame->mYuv[1] = pBuf[1];
234 mFrameQueue.add(frameBuf, frame);
236 CAMHAL_LOGVB("Adding Frame=0x%x Y=0x%x UV=0x%x", frame->mBuffer, frame->mYuv[0], frame->mYuv[1]);
248 CameraFrame *frame = (CameraFrame *)mFrameQueue.valueAt(i); local
249 CAMHAL_LOGVB("Free Frame=0x%x Y=0x%x UV=0x%x", frame
332 CameraFrame *frame = NULL; local
1140 sendFrameToSubscribers(CameraFrame *frame) argument
1204 __sendFrameToSubscribers(CameraFrame* frame, KeyedVector<int, frame_callback> *subscribers, CameraFrame::FrameType frameType) argument
[all...]
/hardware/qcom/camera/QCamera2/HAL3/
H A DQCamera3PostProc.h53 mm_camera_super_buf_t *src_frame;// source frame (need to be returned back to kernel after done)
54 mm_camera_super_buf_t *src_reproc_frame; // original source frame for reproc if not NULL
55 mm_camera_super_buf_t *aux_frame;// source frame but from different stream
61 mm_camera_super_buf_t *src_frame;// source frame (need to be returned back to kernel after done)
65 mm_camera_super_buf_t *frame; // source frame that needs post process member in struct:qcamera::__anon418
104 int32_t processData(mm_camera_super_buf_t *frame);
105 int32_t processRawData(mm_camera_super_buf_t *frame);
106 int32_t processPPData(mm_camera_super_buf_t *frame);
107 int32_t processAuxiliaryData(mm_camera_buf_def_t *frame,
[all...]
H A DQCamera3Stream.cpp369 * @frame : stream frame received
375 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) argument
378 mDataQ.enqueue((void *)frame);
391 * @recvd_frame : stream frame received
409 mm_camera_super_buf_t *frame = local
411 if (frame == NULL) {
416 *frame = *recvd_frame;
417 stream->processDataNotify(frame);
456 mm_camera_super_buf_t *frame local
[all...]
H A DQCamera3PostProc.cpp347 * @frame : process frame from any stream.
353 * NOTE : depends on if offline reprocess is needed, received frame will
356 int32_t QCamera3PostProcessor::processAuxiliaryData(mm_camera_buf_def_t *frame, argument
362 ALOGE("%s: No memory for src frame", __func__);
367 aux_frame->bufs[0] = frame;
407 * @frame : process frame received from mm-camera-interface
413 * NOTE : depends on if offline reprocess is needed, received frame will
416 int32_t QCamera3PostProcessor::processData(mm_camera_super_buf_t *frame) argument
463 processPPMetadata(mm_camera_super_buf_t *frame) argument
490 processRawData(mm_camera_super_buf_t *frame) argument
512 processPPData(mm_camera_super_buf_t *frame) argument
[all...]
H A DQCamera3Channel.cpp302 * @recvd_frame : stream buf frame to be returned
456 * @cb_routine : callback routine to frame aggregator
486 * @cb_routine : callback routine to frame aggregator
671 ALOGE("%s: Error, Super buffer frame does not contain valid buffer",
876 ALOGE("%s: Meta frame was NULL", __func__);
1069 * @recvd_frame : stream frame received
1148 mm_camera_super_buf_t* frame = NULL; local
1159 ALOGE("%s: Error, Super buffer frame does not contain valid buffer",
1173 frame = (mm_camera_super_buf_t *)malloc(sizeof(mm_camera_super_buf_t));
1174 if (frame
1871 mm_camera_super_buf_t* frame = NULL; local
2047 doReprocess(mm_camera_super_buf_t *frame, mm_camera_super_buf_t *meta_frame) argument
[all...]
H A DQCamera3Stream.h46 typedef void (*stream_cb_routine)(mm_camera_super_buf_t *frame,
/hardware/qcom/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp75 mm_camera_super_buf_t* frame = local
77 if (frame == NULL) {
82 *frame = *recvd_frame;
85 pme->m_postprocessor.processData(frame);
115 // simply free super frame
128 mm_camera_super_buf_t* frame = local
130 if (frame == NULL) {
135 *frame = *recvd_frame;
138 pme->m_postprocessor.processData(frame);
145 // find snapshot frame
212 mm_camera_super_buf_t* frame = local
265 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
385 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
469 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
534 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
679 mm_camera_buf_def_t *frame = super_frame->bufs[0]; local
[all...]
H A DQCameraPostProc.h46 mm_camera_super_buf_t *src_frame;// source frame (need to be returned back to kernel after done)
47 mm_camera_super_buf_t *src_reproc_frame; // original source frame for reproc if not NULL
52 mm_camera_super_buf_t *src_frame;// source frame (need to be returned back to kernel after done)
56 mm_camera_super_buf_t *frame; // source frame that needs post process member in struct:qcamera::__anon388
67 mm_camera_super_buf_t * frame; // ptr to frame member in struct:qcamera::__anon390
107 int32_t processData(mm_camera_super_buf_t *frame);
108 int32_t processRawData(mm_camera_super_buf_t *frame);
109 int32_t processPPData(mm_camera_super_buf_t *frame);
[all...]
H A DQCameraStream.cpp372 * @frame : stream frame received
378 int32_t QCameraStream::processDataNotify(mm_camera_super_buf_t *frame) argument
381 mDataQ.enqueue((void *)frame);
392 * @recvd_frame : stream frame received
410 mm_camera_super_buf_t *frame = local
412 if (frame == NULL) {
417 *frame = *recvd_frame;
418 stream->processDataNotify(frame);
456 mm_camera_super_buf_t *frame local
[all...]
H A DQCamera2HWI.h358 static void nodisplay_preview_stream_cb_routine(mm_camera_super_buf_t *frame,
361 static void preview_stream_cb_routine(mm_camera_super_buf_t *frame,
364 static void postview_stream_cb_routine(mm_camera_super_buf_t *frame,
367 static void video_stream_cb_routine(mm_camera_super_buf_t *frame,
370 static void snapshot_stream_cb_routine(mm_camera_super_buf_t *frame,
373 static void raw_stream_cb_routine(mm_camera_super_buf_t *frame,
376 static void metadata_stream_cb_routine(mm_camera_super_buf_t *frame,
379 static void reprocess_stream_cb_routine(mm_camera_super_buf_t *frame,
430 int mDumpFrmCnt; // frame dump count
431 int mDumpSkipCnt; // frame ski
[all...]
H A DQCameraChannel.cpp290 * @recvd_frame : stream buf frame to be returned
524 * DESCRIPTION: return video frame from app
527 * @opaque : ptr to video frame to be returned
528 * @isMetaData : if frame is a metadata or real frame
722 * DESCRIPTION: request to do a reprocess on the frame
725 * @frame : frame to be performed a reprocess
731 int32_t QCameraReprocessChannel::doReprocess(mm_camera_super_buf_t *frame) argument
743 // find meta data stream and index of meta data frame i
[all...]
H A DQCameraPostProc.cpp458 * @frame : process frame received from mm-camera-interface
464 * NOTE : depends on if offline reprocess is needed, received frame will
467 int32_t QCameraPostProcessor::processData(mm_camera_super_buf_t *frame) argument
472 m_inputPPQ.enqueue((void *)frame);
474 processRawData(frame);
485 jpeg_job->src_frame = frame;
501 * @frame : process frame received from mm-camera-interface
507 int32_t QCameraPostProcessor::processRawData(mm_camera_super_buf_t *frame) argument
628 processPPData(mm_camera_super_buf_t *frame) argument
1137 mm_camera_buf_def_t *frame = NULL; local
[all...]
H A DQCameraChannel.h119 int32_t doReprocess(mm_camera_super_buf_t *frame);
H A DQCameraStream.h45 typedef void (*stream_cb_routine)(mm_camera_super_buf_t *frame,
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_rdi.c35 static void mm_app_rdi_dump_frame(mm_camera_buf_def_t *frame, argument
43 if (frame != NULL) {
49 for (i = 0; i < frame->num_planes; i++) {
51 (uint8_t *)frame->buffer + frame->planes[i].data_offset,
65 mm_camera_buf_def_t *frame = bufs->bufs[0]; local
68 CDBG("%s: BEGIN - length=%d, frame idx = %d stream_id=%d\n",
69 __func__, frame->frame_len, frame->frame_idx, frame
[all...]
H A Dmm_qcamera_video.c37 mm_camera_buf_def_t *frame = bufs->bufs[0]; local
40 CDBG("%s: BEGIN - length=%d, frame idx = %d\n",
41 __func__, frame->frame_len, frame->frame_idx);
43 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx);
47 frame)) {
50 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info,
H A Dmm_qcamera_preview.c37 mm_camera_buf_def_t *frame = bufs->bufs[0]; local
40 CDBG("%s: BEGIN - length=%d, frame idx = %d\n",
41 __func__, frame->frame_len, frame->frame_idx);
43 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx);
47 frame)) {
50 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info,
105 /* find preview frame */
113 /* find snapshot frame */
[all...]
/hardware/ti/omap3/dspbridge/libbridge/
H A DAndroid.mk20 LOCAL_CFLAGS += -pipe -fomit-frame-pointer -Wall -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -msoft-float -Uarm -DMODULE -D__LINUX_ARM_ARCH__=7 -fno-common -DLINUX -DOMAP_3430 -fpic
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
H A DV4LCameraAdapter.cpp401 //API to get the frame size required to be allocated. This size is used to override the size passed
517 CameraFrame frame; local
549 frame.mFrameType = CameraFrame::PREVIEW_FRAME_SYNC;
550 frame.mBuffer = ptr;
551 frame.mLength = width*height*2;
552 frame.mAlignment = width*2;
553 frame.mOffset = 0;
554 frame.mTimestamp = systemTime(SYSTEM_TIME_MONOTONIC);;
556 ret = sendFrameToSubscribers(&frame);
/hardware/ti/omap4xxx/camera/inc/
H A DCameraHal.h235 PREVIEW_FRAME_SYNC = 0x1, ///SYNC implies that the frame needs to be explicitly returned after consuming in order to be filled by camera again
236 PREVIEW_FRAME = 0x2 , ///Preview frame includes viewfinder and snapshot frames
237 IMAGE_FRAME_SYNC = 0x4, ///Image Frame is the image capture output frame
241 FRAME_DATA_SYNC = 0x40, ///Any extra data assosicated with the frame. Always synced with the frame
245 ALL_FRAMES = 0xFFFF ///Maximum of 16 frame types supported
275 CameraFrame(const CameraFrame &frame) : argument
276 mCookie(frame.mCookie),
277 mCookie2(frame.mCookie2),
278 mBuffer(frame
[all...]
H A DBaseCameraAdapter.h123 //API to get the frame size required to be allocated. This size is used to override the size passed
127 //API to get required data frame size
153 //Send the frame to subscribers
154 status_t sendFrameToSubscribers(CameraFrame *frame);
156 //Resets the refCount for this particular frame
157 status_t resetFrameRefCount(CameraFrame &frame);
166 status_t __sendFrameToSubscribers(CameraFrame* frame,
208 //Different frame subscribers get stored using these
/hardware/libhardware/tests/camera2/
H A Dcamera2.cpp468 ASSERT_EQ(NO_ERROR, res) << "No frame to get: " << strerror(-res);
470 camera_metadata_t *frame; local
471 res = mFrames.dequeue(&frame);
473 ASSERT_TRUE(frame != NULL);
476 std::cout << "Output frame:" << std::endl;
477 dump_indented_camera_metadata(frame, 0, 1, 2);
618 ASSERT_EQ(NO_ERROR, res) << "No frame to get: " << strerror(-res);
620 camera_metadata_t *frame; local
621 res = mFrames.dequeue(&frame);
623 ASSERT_TRUE(frame !
773 camera_metadata_t *frame; local
[all...]
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXCameraAdapter.cpp1877 // whether the preview frame is a snapshot
1893 //reset frame rate estimates
1896 // start frame count from 0. i.e first frame after
1897 // startPreview will be the 0th reference frame
1898 // this way we will wait for second frame until
1901 // calling after the first frame and not failing
1902 // after the second frame
1954 // we should wait for the first frame to come before trying to stopPreview...if not
1961 // first frame ma
3216 sendFrame(CameraFrame &frame) argument
3233 sendCallBacks(CameraFrame frame, OMX_IN OMX_BUFFERHEADERTYPE *pBuffHeader, unsigned int mask, OMXCameraPortParameters *port) argument
3287 initCameraFrame( CameraFrame &frame, OMX_IN OMX_BUFFERHEADERTYPE *pBuffHeader, int typeOfFrame, OMXCameraPortParameters *port) argument
[all...]
/hardware/ti/omap3/omx/system/src/openmax_il/perf/reader/
H A Dperf_reader.c70 U32 sending, multiple, frame, size; local
172 frame = (ulData1 & PERF_LOG_Frame) ? PERF_FlagFrame : PERF_FlagBuffer;
180 frame,

Completed in 1501 milliseconds

12