Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 67) sorted by relevance

123

/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dcam_intf.c33 const metadata_buffer_t* metadata) in get_pointer_of() argument
37 return POINTER_OF_META(CAM_INTF_META_HISTOGRAM, metadata); in get_pointer_of()
39 return POINTER_OF_META(CAM_INTF_META_FACE_DETECTION, metadata); in get_pointer_of()
41 return POINTER_OF_META(CAM_INTF_META_AUTOFOCUS_DATA, metadata); in get_pointer_of()
43 return POINTER_OF_META(CAM_INTF_META_CROP_DATA, metadata); in get_pointer_of()
45 return POINTER_OF_META(CAM_INTF_META_PREP_SNAPSHOT_DONE, metadata); in get_pointer_of()
47 return POINTER_OF_META(CAM_INTF_META_GOOD_FRAME_IDX_RANGE, metadata); in get_pointer_of()
49 return POINTER_OF_META(CAM_INTF_META_ASD_HDR_SCENE_DATA, metadata); in get_pointer_of()
51 return POINTER_OF_META(CAM_INTF_META_ASD_SCENE_TYPE, metadata); in get_pointer_of()
53 return POINTER_OF_META(CAM_INTF_META_CHROMATIX_LITE_ISP, metadata); in get_pointer_of()
[all …]
/device/asus/flo/camera/QCamera2/HAL/
DQCameraMem.h59 virtual camera_memory_t *getMemory(int index, bool metadata) const = 0;
60 virtual int getMatchBufIndex(const void *opaque, bool metadata) const = 0;
99 virtual camera_memory_t *getMemory(int index, bool metadata) const;
100 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
118 virtual camera_memory_t *getMemory(int index, bool metadata) const;
119 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
136 virtual camera_memory_t *getMemory(int index, bool metadata) const;
137 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
159 virtual camera_memory_t *getMemory(int index, bool metadata) const;
160 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
DQCameraMem.cpp554 bool metadata) const in getMatchBufIndex()
557 if (metadata) { in getMatchBufIndex()
700 camera_memory_t *QCameraStreamMemory::getMemory(int index, bool metadata) const in getMemory()
702 if (index >= mBufferCount || metadata) in getMemory()
720 bool metadata) const in getMatchBufIndex()
723 if (metadata) { in getMatchBufIndex()
859 camera_memory_t *QCameraVideoMemory::getMemory(int index, bool metadata) const in getMemory()
863 if (metadata) in getMemory()
882 bool metadata) const in getMatchBufIndex()
886 if (metadata) { in getMatchBufIndex()
[all …]
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraMem.h59 virtual camera_memory_t *getMemory(int index, bool metadata) const = 0;
60 virtual int getMatchBufIndex(const void *opaque, bool metadata) const = 0;
99 virtual camera_memory_t *getMemory(int index, bool metadata) const;
100 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
118 virtual camera_memory_t *getMemory(int index, bool metadata) const;
119 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
136 virtual camera_memory_t *getMemory(int index, bool metadata) const;
137 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
159 virtual camera_memory_t *getMemory(int index, bool metadata) const;
160 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
DQCameraMem.cpp554 bool metadata) const in getMatchBufIndex()
557 if (metadata) { in getMatchBufIndex()
700 camera_memory_t *QCameraStreamMemory::getMemory(int index, bool metadata) const in getMemory()
702 if (index >= mBufferCount || metadata) in getMemory()
720 bool metadata) const in getMatchBufIndex()
723 if (metadata) { in getMatchBufIndex()
859 camera_memory_t *QCameraVideoMemory::getMemory(int index, bool metadata) const in getMemory()
863 if (metadata) in getMemory()
882 bool metadata) const in getMatchBufIndex()
886 if (metadata) { in getMatchBufIndex()
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraMem.h64 virtual camera_memory_t *getMemory(int index, bool metadata) const = 0;
65 virtual int getMatchBufIndex(const void *opaque, bool metadata) const = 0;
147 virtual camera_memory_t *getMemory(int index, bool metadata) const;
148 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
170 virtual camera_memory_t *getMemory(int index, bool metadata) const;
171 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
189 virtual camera_memory_t *getMemory(int index, bool metadata) const;
190 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
213 virtual camera_memory_t *getMemory(int index, bool metadata) const;
214 virtual int getMatchBufIndex(const void *opaque, bool metadata) const;
DQCameraMem.cpp815 bool metadata) const in getMatchBufIndex()
818 if (metadata) { in getMatchBufIndex()
995 camera_memory_t *QCameraStreamMemory::getMemory(int index, bool metadata) const in getMemory()
997 if (index >= mBufferCount || metadata) in getMemory()
1015 bool metadata) const in getMatchBufIndex()
1018 if (metadata) { in getMatchBufIndex()
1219 camera_memory_t *QCameraVideoMemory::getMemory(int index, bool metadata) const in getMemory()
1223 if (metadata) in getMemory()
1242 bool metadata) const in getMatchBufIndex()
1246 if (metadata) { in getMatchBufIndex()
[all …]
DQCameraPostProc.h50 metadata_buffer_t *metadata; // source frame metadata member
81 camera_frame_metadata_t *metadata; // ptr to meta data member
126 camera_frame_metadata_t *metadata,
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp1633 metadata_buffer_t *metadata = (metadata_buffer_t *)metadata_buf->bufs[0]->buffer; in handleMetadataWithLock() local
1635 *(cam_frame_dropped_t *) POINTER_OF_META(CAM_INTF_META_FRAME_DROPPED, metadata); in handleMetadataWithLock()
1638 (int32_t *) POINTER_OF_META(CAM_INTF_META_FRAME_NUMBER_VALID, metadata); in handleMetadataWithLock()
1640 (uint32_t *) POINTER_OF_META(CAM_INTF_META_FRAME_NUMBER, metadata); in handleMetadataWithLock()
1642 (int64_t *) POINTER_OF_META(CAM_INTF_META_SENSOR_TIMESTAMP, metadata); in handleMetadataWithLock()
1644 (int32_t *) POINTER_OF_META(CAM_INTF_META_URGENT_FRAME_NUMBER_VALID, metadata); in handleMetadataWithLock()
1646 (uint32_t *) POINTER_OF_META(CAM_INTF_META_URGENT_FRAME_NUMBER, metadata); in handleMetadataWithLock()
1694 translateCbUrgentMetadataToResultMetadata(metadata); in handleMetadataWithLock()
1802 result.result = translateFromHalMetadata(metadata, in handleMetadataWithLock()
1813 if (enabled && metadata->is_tuning_params_valid) { in handleMetadataWithLock()
[all …]
DQCamera3PostProc.cpp183 metadata_buffer_t *metadata) in start() argument
198 m_pReprocChannel = hal_obj->addOfflineReprocChannel(config, m_parent, metadata); in start()
518 jpeg_job->metadata = in processData()
639 jpeg_job->metadata = job->metadata; in processPPData()
641 jpeg_job->metadata = in processPPData()
768 pp_job->metadata = NULL; in releaseOngoingPPData()
961 metadata_buffer_t *metadata = NULL; in encodeFWKData() local
976 metadata = jpeg_job_data->metadata; in encodeFWKData()
977 if (NULL == metadata) { in encodeFWKData()
1061 QCamera3Exif *pJpegExifObj = m_parent->getExifData(metadata, jpeg_settings); in encodeFWKData()
[all …]
DQCamera3HWI.h144 static void captureResultCb(mm_camera_super_buf_t *metadata,
161 metadata_buffer_t *metadata);
163 camera_metadata_t* translateFromHalMetadata(metadata_buffer_t *metadata,
171 QCamera3PicChannel *picChHandle, metadata_buffer_t *metadata);
179 void captureResultCb(mm_camera_super_buf_t *metadata,
226 int queueReprocMetadata(metadata_buffer_t *metadata);
DQCamera3Channel.cpp1590 metadata_buffer_t *metadata) in request() argument
1627 if (IS_PARAM_AVAILABLE(CAM_INTF_META_JPEG_ORIENTATION, metadata)) { in request()
1629 CAM_INTF_META_JPEG_ORIENTATION, metadata); in request()
1675 m_postprocessor.start(reproc_cfg, metadata); in request()
1681 rc = queueJpegSetting(index, metadata); in request()
1758 memcpy(meta_buf.buffer, metadata, sizeof(metadata_buffer_t)); in request()
1979 int32_t QCamera3PicChannel::queueReprocMetadata(mm_camera_super_buf_t *metadata) in queueReprocMetadata() argument
1981 return m_postprocessor.processPPMetadata(metadata); in queueReprocMetadata()
1984 int32_t QCamera3PicChannel::queueJpegSetting(int32_t index, metadata_buffer_t *metadata) in queueJpegSetting() argument
1999 if (IS_PARAM_AVAILABLE(CAM_INTF_META_JPEG_ORIENTATION, metadata)) { in queueJpegSetting()
[all …]
DQCamera3PostProc.h67 metadata_buffer_t *metadata; member
76 metadata_buffer_t *metadata; member
112 metadata_buffer_t *metadata);
DQCamera3Channel.h49 typedef void (*channel_cb_routine)(mm_camera_super_buf_t *metadata,
283 metadata_buffer_t* metadata);
293 QCamera3Exif *getExifData(metadata_buffer_t *metadata,
304 int32_t queueReprocMetadata(mm_camera_super_buf_t *metadata);
307 int32_t queueJpegSetting(int32_t out_buf_index, metadata_buffer_t *metadata);
/device/moto/shamu/power/
Dpower_shamu.c122 static void process_video_encode_hint(void *metadata) in process_video_encode_hint() argument
132 if (metadata) { in process_video_encode_hint()
133 if (!strncmp(metadata, STATE_ON, sizeof(STATE_ON))) { in process_video_encode_hint()
136 } else if (!strncmp(metadata, STATE_OFF, sizeof(STATE_OFF))) { in process_video_encode_hint()
139 } else if (!strncmp(metadata, STATE_HDR_ON, sizeof(STATE_HDR_ON))) { in process_video_encode_hint()
141 } else if (!strncmp(metadata, STATE_HDR_OFF, sizeof(STATE_HDR_OFF))) { in process_video_encode_hint()
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Channel.cpp1167 metadata_buffer_t *metadata) in request() argument
1200 m_postprocessor.start(this, metadata); in request()
1203 rc = queueJpegSetting(index, metadata); in request()
1222 m_postprocessor.processPPMetadata(metadata); in request()
1389 int32_t QCamera3PicChannel::queueReprocMetadata(metadata_buffer_t *metadata) in queueReprocMetadata() argument
1391 return m_postprocessor.processPPMetadata(metadata); in queueReprocMetadata()
1394 int32_t QCamera3PicChannel::queueJpegSetting(int32_t index, metadata_buffer_t *metadata) in queueJpegSetting() argument
1409 if (IS_PARM_VALID(CAM_INTF_META_JPEG_ORIENTATION, metadata)) { in queueJpegSetting()
1411 CAM_INTF_META_JPEG_ORIENTATION, metadata); in queueJpegSetting()
1416 if (IS_PARM_VALID(CAM_INTF_META_JPEG_QUALITY, metadata)) { in queueJpegSetting()
[all …]
DQCamera3HWI.cpp1166 metadata_buffer_t *metadata = (metadata_buffer_t *)metadata_buf->bufs[0]->buffer; in handleMetadataWithLock() local
1168 POINTER_OF(CAM_INTF_META_FRAME_NUMBER_VALID, metadata); in handleMetadataWithLock()
1170 CAM_INTF_META_PENDING_REQUESTS, metadata); in handleMetadataWithLock()
1172 POINTER_OF(CAM_INTF_META_FRAME_NUMBER, metadata); in handleMetadataWithLock()
1174 POINTER_OF(CAM_INTF_META_SENSOR_TIMESTAMP, metadata); in handleMetadataWithLock()
1178 POINTER_OF(CAM_INTF_META_FRAME_DROPPED, metadata); in handleMetadataWithLock()
1181 POINTER_OF(CAM_INTF_META_URGENT_FRAME_NUMBER_VALID, metadata); in handleMetadataWithLock()
1183 POINTER_OF(CAM_INTF_META_URGENT_FRAME_NUMBER, metadata); in handleMetadataWithLock()
1226 translateCbUrgentMetadataToResultMetadata(metadata); in handleMetadataWithLock()
1306 POINTER_OF(CAM_INTF_META_FRAMES_STALLED, metadata)); in handleMetadataWithLock()
[all …]
DQCamera3PostProc.cpp175 metadata_buffer_t *metadata) in start() argument
194 m_pReprocChannel = hal_obj->addOfflineReprocChannel(pInputChannel, m_parent, metadata); in start()
509 jpeg_job->metadata = job->metadata; in processPPData()
583 metadata_buffer_t *metadata = (metadata_buffer_t *)data; in releaseMetaData() local
584 if (metadata != NULL) in releaseMetaData()
585 free(metadata); in releaseMetaData()
644 free(pp_job->metadata); in releaseOngoingPPData()
646 pp_job->metadata = NULL; in releaseOngoingPPData()
698 if (NULL != job->metadata) { in releaseJpegJobData()
699 free(job->metadata); in releaseJpegJobData()
[all …]
DQCamera3HWI.h125 static void captureResultCb(mm_camera_super_buf_t *metadata,
142 metadata_buffer_t *metadata);
144 camera_metadata_t* translateFromHalMetadata(metadata_buffer_t *metadata,
150 …nnel(QCamera3Channel *pInputChannel, QCamera3PicChannel *picChHandle, metadata_buffer_t *metadata);
156 void captureResultCb(mm_camera_super_buf_t *metadata,
DQCamera3Channel.h49 typedef void (*channel_cb_routine)(mm_camera_super_buf_t *metadata,
262 metadata_buffer_t* metadata);
271 QCamera3Exif *getExifData(metadata_buffer_t *metadata,
281 int32_t queueReprocMetadata(metadata_buffer_t *metadata);
285 int32_t queueJpegSetting(int32_t out_buf_index, metadata_buffer_t *metadata);
319 metadata_buffer_t *metadata);
DQCamera3PostProc.h56 metadata_buffer_t *metadata; member
63 metadata_buffer_t *metadata; member
105 metadata_buffer_t *metadata);
/device/asus/flo/power/
Dpower_flo.c269 static void process_video_encode_hint(void *metadata) in process_video_encode_hint() argument
279 if (metadata) { in process_video_encode_hint()
280 if (!strncmp(metadata, STATE_ON, sizeof(STATE_ON))) { in process_video_encode_hint()
284 } else if (!strncmp(metadata, STATE_OFF, sizeof(STATE_OFF))) { in process_video_encode_hint()
288 } else if (!strncmp(metadata, STATE_HDR_ON, sizeof(STATE_HDR_ON))) { in process_video_encode_hint()
290 } else if (!strncmp(metadata, STATE_HDR_OFF, sizeof(STATE_HDR_OFF))) { in process_video_encode_hint()
/device/lge/hammerhead/power/
Dpower_hammerhead.c269 static void process_video_encode_hint(void *metadata) in process_video_encode_hint() argument
279 if (metadata) { in process_video_encode_hint()
280 if (!strncmp(metadata, STATE_ON, sizeof(STATE_ON))) { in process_video_encode_hint()
284 } else if (!strncmp(metadata, STATE_OFF, sizeof(STATE_OFF))) { in process_video_encode_hint()
288 } else if (!strncmp(metadata, STATE_HDR_ON, sizeof(STATE_HDR_ON))) { in process_video_encode_hint()
290 } else if (!strncmp(metadata, STATE_HDR_OFF, sizeof(STATE_HDR_OFF))) { in process_video_encode_hint()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3HWI.cpp1024 metadata_buffer_t *metadata = (metadata_buffer_t *)metadata_buf->bufs[0]->buffer; in captureResultCb() local
1026 POINTER_OF(CAM_INTF_META_FRAME_NUMBER_VALID, metadata); in captureResultCb()
1028 CAM_INTF_META_PENDING_REQUESTS, metadata); in captureResultCb()
1030 POINTER_OF(CAM_INTF_META_FRAME_NUMBER, metadata); in captureResultCb()
1032 POINTER_OF(CAM_INTF_META_SENSOR_TIMESTAMP, metadata); in captureResultCb()
1082 result.result = translateCbMetadataToResultMetadata(metadata, in captureResultCb()
1225 (metadata_buffer_t *metadata, nsecs_t timestamp, in translateCbMetadataToResultMetadata() argument
1241 POINTER_OF(CAM_INTF_META_FACE_DETECTION, metadata); in translateCbMetadataToResultMetadata()
1267 (uint8_t *)POINTER_OF(CAM_INTF_META_COLOR_CORRECT_MODE, metadata); in translateCbMetadataToResultMetadata()
1275 (cam_area_t *)POINTER_OF(CAM_INTF_META_AEC_ROI, metadata); in translateCbMetadataToResultMetadata()
[all …]
DQCamera3HWI.h113 static void captureResultCb(mm_camera_super_buf_t *metadata,
128 camera_metadata_t* translateCbMetadataToResultMetadata(metadata_buffer_t *metadata,
141 void captureResultCb(mm_camera_super_buf_t *metadata,

123