/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
H A D | mm_qcamera_video.c | 37 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 D | mm_qcamera_preview.c | 37 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...] |
H A D | mm_qcamera_rdi.c | 35 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 D | mm_qcamera_app.c | 235 void mm_app_dump_frame(mm_camera_buf_def_t *frame, argument 243 if ( frame != NULL) { 249 for (i = 0; i < frame->num_planes; i++) { 251 (uint8_t *)frame->buffer + frame->planes[i].data_offset, 252 frame->planes[i].length);
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/reader/ |
H A D | perf_reader.c | 70 U32 sending, multiple, frame, size; local 172 frame = (ulData1 & PERF_LOG_Frame) ? PERF_FlagFrame : PERF_FlagBuffer; 180 frame,
|
/hardware/qcom/camera/QCamera2/HAL/ |
H A D | QCameraPostProc.h | 46 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 D | QCameraChannel.cpp | 290 * @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 D | QCameraStream.cpp | 372 * @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 D | QCamera2HWICallbacks.cpp | 75 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 D | QCameraPostProc.cpp | 458 * @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...] |
/hardware/qcom/camera/QCamera2/HAL3/ |
H A D | QCamera3PostProc.h | 53 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 D | QCamera3Stream.cpp | 369 * @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 D | QCamera3PostProc.cpp | 347 * @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 D | QCamera3Channel.cpp | 302 * @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...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
H A D | perf_print.c | 310 int frame = PERF_IsFrame ((unsigned long) eModule); local 321 frame ? "frame" : "buffer",
|
H A D | perf_rt.c | 304 int frame = PERF_IsFrame (modulesAndFlags); local 310 frame ? "frames" : "buffers", 478 /* change encoded filled frame sizes to 0xBEEFED, as they tend to
|
/hardware/ti/wlan/mac80211/ti-utils/ |
H A D | calibrator.h | 106 bool frame, time; member in struct:print_event_args
|
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
H A D | V4LCameraAdapter.cpp | 401 //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/libhardware/tests/camera2/ |
H A D | camera2.cpp | 468 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/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_stream.c | 73 mm_camera_buf_def_t *frame); 1144 CDBG("%s:plane 0: stream_hdl=%d,fd=%d,frame idx=%d,num_planes = %d, offset = %d, data_offset = %d\n", __func__, 1146 CDBG("%s:plane 1: stream_hdl=%d,fd=%d,frame idx=%d,num_planes = %d, offset = %d, data_offset = %d\n", __func__, 1645 * DESCRIPTION: calculate preview/postview frame offset based on format and 1801 * DESCRIPTION: calculate snapshot/postproc frame offset based on format and 1956 * DESCRIPTION: calculate raw frame offset based on format and padding information 2154 * DESCRIPTION: calculate video frame offset based on format and 2236 * DESCRIPTION: calculate metadata frame offset based on format and 2270 * DESCRIPTION: calculate postprocess frame offset 2336 * DESCRIPTION: calculate frame offse 2500 mm_stream_buf_done(mm_stream_t * my_obj, mm_camera_buf_def_t *frame) argument [all...] |
/hardware/ti/omap4xxx/camera/ |
H A D | BaseCameraAdapter.cpp | 230 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...] |
H A D | AppCallbackNotifier.cpp | 299 ///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 D | CameraHal.cpp | 527 CAMHAL_LOGEA("Invalid frame rate range or frame rate"); 1433 CameraFrame frame; local 1455 ret = mCameraAdapter->sendCommand(CameraAdapter::CAMERA_QUERY_RESOLUTION_PREVIEW,( int ) &frame); 1462 mPreviewWidth = frame.mWidth; 1463 mPreviewHeight = frame.mHeight; 1521 ( int ) &frame, 1529 ret = allocPreviewDataBufs(frame.mLength, required_buffer_count); 1605 //TODO: obtain the frame packing configuration from camera or user settings 1733 // Since CameraAdapter is the one that provides the frames, set it as the frame provide 2344 CameraFrame frame; local 2471 CameraFrame frame; local [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
H A D | OMXCameraAdapter.cpp | 1877 // 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/samsung_slsi/exynos5/libcamera/ |
H A D | ExynosCameraHWInterface.cpp | 914 // frame rate 2580 ALOGV("DEBUG(%s):skipping %d frame", __func__, previewBuf.reserved.p); 2951 // Notify the client of a new frame. 3435 void ExynosCameraHWInterface::m_setSkipFrame(int frame) argument 3438 if (frame < m_skipFrame) 3441 m_skipFrame = frame; 4199 * clients must not modify/access any video recording frame after calling 4256 * the video buffers to interpret the contents and to find the actual frame 4265 * than the actual frame data directly to the video encoder, since the 4266 * amount of the uncompressed frame dat [all...] |