/hardware/libhardware/modules/camera/3_4/ |
D | request_tracker_test.cpp | 41 uint32_t frame, std::vector<camera3_stream_t*> streams) { in GenerateCaptureRequest() argument 46 request->frame_number = frame; in GenerateCaptureRequest() 56 void AddRequest(uint32_t frame, in AddRequest() argument 60 GenerateCaptureRequest(frame, streams); in AddRequest() 63 EXPECT_FALSE(dut_->InFlight(frame)); in AddRequest() 67 EXPECT_TRUE(dut_->InFlight(frame)); in AddRequest() 78 uint32_t frame = 34; in TEST_F() local 79 EXPECT_FALSE(dut_->InFlight(frame)); in TEST_F() 80 AddRequest(frame, {&stream1_}); in TEST_F() 87 uint32_t frame = 42; in TEST_F() local [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/src/ |
D | mm_lib2d.c | 210 p_frame->frame[0].plane_cnt = 1; in lib2d_fill_img_frame() 211 p_frame->frame[0].plane[0].plane_type = PLANE_ARGB; in lib2d_fill_img_frame() 212 p_frame->frame[0].plane[0].addr = rgb_buffer->buffer; in lib2d_fill_img_frame() 213 p_frame->frame[0].plane[0].stride = rgb_buffer->stride; in lib2d_fill_img_frame() 214 p_frame->frame[0].plane[0].length = (rgb_buffer->stride * in lib2d_fill_img_frame() 216 p_frame->frame[0].plane[0].fd = rgb_buffer->fd; in lib2d_fill_img_frame() 217 p_frame->frame[0].plane[0].height = rgb_buffer->height; in lib2d_fill_img_frame() 218 p_frame->frame[0].plane[0].width = rgb_buffer->width; in lib2d_fill_img_frame() 219 p_frame->frame[0].plane[0].offset = 0; in lib2d_fill_img_frame() 220 p_frame->frame[0].plane[0].scanline = rgb_buffer->height; in lib2d_fill_img_frame() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 146 mm_camera_super_buf_t* frame = in zsl_channel_cb() local 148 if (frame == NULL) { in zsl_channel_cb() 153 *frame = *recvd_frame; in zsl_channel_cb() 192 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb() 193 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 196 pMetaFrame = frame->bufs[i]; //find the metadata in zsl_channel_cb() 233 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb() 234 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 237 pMetaFrame = frame->bufs[i]; in zsl_channel_cb() 253 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb() [all …]
|
D | QCameraPostProc.cpp | 937 bool QCameraPostProcessor::validatePostProcess(mm_camera_super_buf_t *frame) in validatePostProcess() argument 943 if (frame == NULL) { in validatePostProcess() 947 pChannel = m_parent->getChannelByHandle(frame->ch_id); in validatePostProcess() 1059 int32_t QCameraPostProcessor::processData(mm_camera_super_buf_t *frame) in processData() argument 1066 if (frame == NULL) { in processData() 1072 for (uint32_t i = 0; i < frame->num_bufs; i++) { in processData() 1074 if (frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in processData() 1075 meta_frame = frame->bufs[i]; in processData() 1104 pp_request_job->src_frame = frame; in processData() 1105 pp_request_job->src_reproc_frame = frame; in processData() [all …]
|
D | QCameraPostProc.h | 93 mm_camera_super_buf_t *frame; // source frame member 118 mm_camera_super_buf_t * frame; // ptr to frame member 168 bool validatePostProcess(mm_camera_super_buf_t *frame); 169 int32_t processData(mm_camera_super_buf_t *frame); 170 int32_t processRawData(mm_camera_super_buf_t *frame); 171 int32_t processPPData(mm_camera_super_buf_t *frame); 215 int32_t syncStreamParams(mm_camera_super_buf_t *frame,
|
D | QCameraChannel.cpp | 1480 int32_t QCameraReprocessChannel::doReprocessOffline(mm_camera_buf_def_t *frame, in doReprocessOffline() argument 1488 if ((frame == NULL) || (meta_buf == NULL)) { in doReprocessOffline() 1494 pStream = getStreamBySrouceHandle(frame->stream_id); in doReprocessOffline() 1533 frame->fd, in doReprocessOffline() 1534 frame->buffer, in doReprocessOffline() 1535 frame->frame_len); in doReprocessOffline() 1551 param.reprocess.frame_idx = frame->frame_idx; in doReprocessOffline() 1552 param.reprocess.is_uv_subsampled = frame->is_uv_subsampled; in doReprocessOffline() 1594 int32_t QCameraReprocessChannel::doReprocessOffline(mm_camera_super_buf_t *frame, in doReprocessOffline() argument 1609 if (frame == NULL) { in doReprocessOffline() [all …]
|
D | QCamera2HWI.h | 400 mm_camera_buf_def_t *frame, uint32_t dump_type, const char *misc = NULL); 402 mm_camera_buf_def_t *frame,char *type); 536 static void rdi_mode_stream_cb_routine(mm_camera_super_buf_t *frame, 539 static void nodisplay_preview_stream_cb_routine(mm_camera_super_buf_t *frame, 542 static void preview_stream_cb_routine(mm_camera_super_buf_t *frame, 545 static void synchronous_stream_cb_routine(mm_camera_super_buf_t *frame, 547 static void postview_stream_cb_routine(mm_camera_super_buf_t *frame, 550 static void video_stream_cb_routine(mm_camera_super_buf_t *frame, 553 static void snapshot_channel_cb_routine(mm_camera_super_buf_t *frame, 555 static void raw_channel_cb_routine(mm_camera_super_buf_t *frame, [all …]
|
D | QCameraChannel.h | 147 int32_t doReprocess(mm_camera_super_buf_t *frame, 154 int32_t doReprocessOffline(mm_camera_super_buf_t *frame, 157 int32_t doReprocessOffline(mm_camera_buf_def_t *frame,
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_video.c | 41 mm_camera_buf_def_t *frame; in mm_app_metadata_notify_cb() local 48 frame = bufs->bufs[0]; in mm_app_metadata_notify_cb() 79 frame = bufs->bufs[i]; in mm_app_metadata_notify_cb() 92 memcpy(pme->metadata, frame->buffer, sizeof(metadata_buffer_t)); in mm_app_metadata_notify_cb() 94 pMetadata = (metadata_buffer_t *)frame->buffer; in mm_app_metadata_notify_cb() 108 pme->user_metadata_cb(frame); in mm_app_metadata_notify_cb() 113 frame)) { in mm_app_metadata_notify_cb() 116 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_metadata_notify_cb() 244 mm_camera_buf_def_t *frame = NULL; in mm_app_preview_notify_cb() local 252 frame = bufs->bufs[0]; in mm_app_preview_notify_cb() [all …]
|
D | mm_qcamera_rdi.c | 40 static void mm_app_rdi_dump_frame(mm_camera_buf_def_t *frame, in mm_app_rdi_dump_frame() argument 49 if (frame != NULL) { in mm_app_rdi_dump_frame() 56 for (i = 0; i < frame->planes_buf.num_planes; i++) { in mm_app_rdi_dump_frame() 58 (uint8_t *)frame->buffer + frame->planes_buf.planes[i].data_offset, in mm_app_rdi_dump_frame() 72 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_rdi_notify_cb() local 76 frame->frame_len, frame->frame_idx, frame->stream_id); in mm_app_rdi_notify_cb() 78 mm_app_rdi_dump_frame(frame, file_name, "raw", frame->frame_idx); in mm_app_rdi_notify_cb() 82 frame)) { in mm_app_rdi_notify_cb() 85 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_rdi_notify_cb()
|
D | mm_qcamera_reprocess.c | 37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() local 47 frame->frame_len, frame->frame_idx); in mm_app_reprocess_notify_cb() 89 frame)) { in mm_app_reprocess_notify_cb() 92 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_reprocess_notify_cb() 279 mm_camera_buf_def_t *frame, in mm_app_do_reprocess() argument 289 ( NULL == frame ) || in mm_app_do_reprocess() 317 param.reprocess.buf_index = frame->buf_idx; in mm_app_do_reprocess() 318 param.reprocess.frame_idx = frame->frame_idx; in mm_app_do_reprocess()
|
/hardware/interfaces/automotive/evs/1.0/ |
D | IEvsCameraStream.hal | 21 * Implemented on client side to receive asynchronous video frame deliveries. 26 * Receives calls from the HAL each time a video frame is ready for inspection. 30 * some time as the pipeline drains. Each frame must still be returned. 31 * When the last frame in the stream has been delivered, a NULL bufferHandle 32 * must be delivered, signifying the end of the stream. No further frame
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraHALPP.cpp | 233 mm_camera_super_buf_t *frame = pData->frame; in releaseData() local 234 if (frame) { in releaseData() 238 m_pQCameraPostProc->releaseSuperBuf(frame); in releaseData() 240 free(frame); in releaseData() 241 frame = NULL; in releaseData()
|
/hardware/interfaces/input/classifier/1.0/vts/functional/ |
D | VtsHalInputClassifierV1_0TargetTest.cpp | 142 VideoFrame frame; in TEST_F() local 143 frame.data = {1, 2, 3, 4}; in TEST_F() 144 frame.height = 2; in TEST_F() 145 frame.width = 2; in TEST_F() 146 frame.timestamp = event.eventTime; in TEST_F() 147 event.frames = {frame}; in TEST_F()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Channel.cpp | 505 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, in dumpYUV() argument 535 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 539 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 543 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 547 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 551 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 555 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 568 written_len = write(file_fd, frame->buffer, frame->frame_len); in dumpYUV() 577 data = (void *)((uint8_t *)frame->buffer + index); in dumpYUV() 586 frame->cache_flags |= CPU_HAS_READ; in dumpYUV() [all …]
|
D | QCamera3Stream.cpp | 605 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) in processDataNotify() argument 609 if (mDataQ.enqueue((void *)frame)) { in processDataNotify() 613 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 614 free(frame); in processDataNotify() 646 mm_camera_super_buf_t *frame = in dataNotifyCB() local 648 if (frame == NULL) { in dataNotifyCB() 653 *frame = *recvd_frame; in dataNotifyCB() 654 stream->processDataNotify(frame); in dataNotifyCB() 711 mm_camera_super_buf_t *frame = in dataProcRoutine() local 713 if (NULL != frame) { in dataProcRoutine() [all …]
|
D | QCamera3PostProc.h | 123 int32_t processData(qcamera_fwk_input_pp_data_t *frame); 127 int32_t processPPData(mm_camera_super_buf_t *frame); 144 qcamera_fwk_input_pp_data_t *frame, 163 bool needsReprocess(qcamera_fwk_input_pp_data_t *frame);
|
D | QCamera3Channel.h | 131 void dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, 224 virtual int32_t registerBufferAndGetBufDef(buffer_handle_t *buffer, mm_camera_buf_def_t *frame); 226 virtual void unregisterBuffer(mm_camera_buf_def_t *frame); 397 void dumpRawSnapshot(mm_camera_buf_def_t *frame); 398 void convertLegacyToRaw16(mm_camera_buf_def_t *frame); 399 void convertMipiToRaw16(mm_camera_buf_def_t *frame); 427 void dumpRawSnapshot(mm_camera_buf_def_t *frame); 463 void sendRawToHdrPlusService(mm_camera_buf_def_t *frame); 587 int32_t getYuvBufferForRequest(mm_camera_buf_def_t *frame, uint32_t frameNumber); 590 int32_t returnYuvBufferAndEncode(mm_camera_buf_def_t *frame, [all …]
|
/hardware/google/av/media/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 228 for (const FrameData &frame : avcStream_B) { in TEST_F() local 231 ASSERT_GE(buf->capacity(), frame.size); in TEST_F() 232 memcpy(buf->base(), frame.data, frame.size); in TEST_F() 233 EXPECT_EQ(buf->setRange(0, frame.size), OK); in TEST_F() 235 EXPECT_EQ(codec->queueInputBuffer(ix, 0, frame.size, frameIx * 33333, in TEST_F() 310 for (const FrameData &frame : avcStream_A) { in TEST_P() local 313 ASSERT_GE(buf->capacity(), frame.size); in TEST_P() 314 memcpy(buf->base(), frame.data, frame.size); in TEST_P() 315 EXPECT_EQ(buf->setRange(0, frame.size), OK); in TEST_P() 317 EXPECT_EQ(codec->queueInputBuffer(ix, 0, frame.size, frameIx * 33333, in TEST_P()
|
/hardware/interfaces/camera/device/1.0/ |
D | types.hal | 72 * |-------------> determine whether the frame is copied out or not 74 * WARNING: When a frame is sent directly without copying, it is the frame 75 * receiver's responsiblity to make sure that the frame data won't get 78 * and the handling/processing of the received frame data is always faster than 79 * the preview frame rate so that data corruption won't occur. 86 * frame copies. 87 * 3. 0x05 is enabling a callback with frame copied out repeatedly. A typical 89 * 4. 0x07 is enabling a callback with frame copied out only once. A typical 116 * detected faces in the preview frame. The detected faces may be the same 185 // Preview frame metadata. This can be combined with [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_virtual.cpp | 234 hwc_rect_t &frame = fbt_layer.displayFrame; in SetOutputSliceFromMetadata() local 235 int fbt_width = frame.right - frame.left; in SetOutputSliceFromMetadata() 236 int fbt_height = frame.bottom - frame.top; in SetOutputSliceFromMetadata()
|
/hardware/interfaces/gnss/1.0/ |
D | IGnssNavigationMessageCallback.hal | 91 * - For GNSS L1 C/A subframe 4 and 5, this value corresponds to the 'frame 93 * does not contain a 'frame id' and this value can be set to -1.) 95 * - For Glonass L1 C/A, this refers to the frame ID, in the range of 1-5. 97 * - For BeiDou D1, this refers to the frame number in the range of 1-24 99 * - For Beidou D2, this refers to the frame number, in the range of 1-120 101 * - For Galileo F/NAV nominal frame structure, this refers to the subframe 104 * - For Galileo I/NAV nominal frame structure, this refers to the subframe 111 * contains a sub-index within the current message (or frame) that is being
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display_virtual.cpp | 234 hwc_rect_t &frame = fbt_layer.displayFrame; in SetOutputSliceFromMetadata() local 235 int fbt_width = frame.right - frame.left; in SetOutputSliceFromMetadata() 236 int fbt_height = frame.bottom - frame.top; in SetOutputSliceFromMetadata()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display_virtual.cpp | 234 hwc_rect_t &frame = fbt_layer.displayFrame; in SetOutputSliceFromMetadata() local 235 int fbt_width = frame.right - frame.left; in SetOutputSliceFromMetadata() 236 int fbt_height = frame.bottom - frame.top; in SetOutputSliceFromMetadata()
|
/hardware/ti/am57x/libhwcomposer/ |
D | display.h | 109 …static void page_flip_handler(int fd, unsigned int frame, unsigned int sec, unsigned int usec, voi… 110 …static void vblank_handler(int fd, unsigned int frame, unsigned int sec, unsigned int usec, void* …
|