Home
last modified time | relevance | path

Searched refs:CameraInfo (Results 1 – 20 of 20) sorted by relevance

/hardware/qcom/sm7250/display/gralloc/
Dgr_camera_info.cpp42 CameraInfo *CameraInfo::s_instance = nullptr;
44 CameraInfo *CameraInfo::GetInstance() { in GetInstance()
48 s_instance = new CameraInfo(); in GetInstance()
54 CameraInfo::CameraInfo() { in CameraInfo() function in gralloc::CameraInfo
94 CameraInfo::~CameraInfo() { in ~CameraInfo()
100 CamxPixelFormat CameraInfo::GetCameraPixelFormat(int hal_format) { in GetCameraPixelFormat()
141 int CameraInfo::GetBufferSize(int format, int width, int height, unsigned int *size) { in GetBufferSize()
155 int CameraInfo::GetStrideInBytes(int format, int plane_type, int width, int *stride_bytes) { in GetStrideInBytes()
171 int CameraInfo::GetStrideInPixels(int format, int plane_type, int width, float *stride_pixel) { in GetStrideInPixels()
187 int CameraInfo::GetPixelIncrement(int format, int plane_type, int *pixel_increment) { in GetPixelIncrement()
[all …]
Dgr_camera_info.h125 class CameraInfo {
164 static CameraInfo *GetInstance();
167 CameraInfo();
168 ~CameraInfo();
231 static CameraInfo *s_instance;
Dgr_utils.cpp193 if (CameraInfo::GetInstance() && in IsCameraCustomFormat()
194 !(CameraInfo::GetInstance()->IsCameraUtilsPresent())) { in IsCameraCustomFormat()
352 if (IsCameraCustomFormat(format) && CameraInfo::GetInstance()) { in GetSize()
353 int result = CameraInfo::GetInstance()->GetBufferSize(format, width, height, &size); in GetSize()
1068 if (IsCameraCustomFormat(format) && CameraInfo::GetInstance()) { in GetAlignedWidthAndHeight()
1071 int result = CameraInfo::GetInstance()->GetStrideInBytes( in GetAlignedWidthAndHeight()
1083 result = CameraInfo::GetInstance()->GetScanline(format, (PlaneComponent)PLANE_COMPONENT_Y, in GetAlignedWidthAndHeight()
1485 if (IsCameraCustomFormat(format) && CameraInfo::GetInstance()) { in GetYUVPlaneInfo()
1486 int result = CameraInfo::GetInstance()->GetCameraFormatPlaneInfo( in GetYUVPlaneInfo()
/hardware/interfaces/automotive/evs/1.1/default/
DConfigManager.h54 class CameraInfo {
56 CameraInfo() : characteristics(nullptr) { /* Nothing to do */ in CameraInfo() function
59 virtual ~CameraInfo() { free_camera_metadata(characteristics); } in ~CameraInfo()
95 class CameraGroupInfo : public CameraInfo {
167 std::unique_ptr<CameraInfo>& getCameraInfo(const std::string cameraId) noexcept { in getCameraInfo()
179 std::unordered_map<std::string, std::unique_ptr<CameraInfo>> mCameraInfo;
245 bool readCameraDeviceInfo(CameraInfo* aCamera, const tinyxml2::XMLElement* aDeviceElem);
262 size_t readCameraCapabilities(const tinyxml2::XMLElement* const aCapElem, CameraInfo* aCamera,
279 size_t readCameraMetadata(const tinyxml2::XMLElement* const aParamElem, CameraInfo* aCamera,
297 bool constructCameraMetadata(CameraInfo* aCamera, const size_t totalEntries,
DConfigManager.cpp79 CameraInfo* aCamera = new CameraInfo(); in readCameraInfo()
89 mCameraInfo.insert_or_assign(id, unique_ptr<CameraInfo>(aCamera)); in readCameraInfo()
102 bool ConfigManager::readCameraDeviceInfo(CameraInfo* aCamera, const XMLElement* aDeviceElem) { in readCameraDeviceInfo()
128 size_t ConfigManager::readCameraCapabilities(const XMLElement* const aCapElem, CameraInfo* aCamera, in readCameraCapabilities()
200 size_t ConfigManager::readCameraMetadata(const XMLElement* const aParamElem, CameraInfo* aCamera, in readCameraMetadata()
285 bool ConfigManager::constructCameraMetadata(CameraInfo* aCamera, const size_t totalEntries, in constructCameraMetadata()
DEvsCamera.h72 std::unique_ptr<ConfigManager::CameraInfo>& camInfo,
83 EvsCamera(const char* id, std::unique_ptr<ConfigManager::CameraInfo>& camInfo);
132 std::unique_ptr<ConfigManager::CameraInfo>& mCameraInfo;
DEvsCamera.cpp53 EvsCamera::EvsCamera(const char* id, std::unique_ptr<ConfigManager::CameraInfo>& camInfo) in EvsCamera()
723 std::unique_ptr<ConfigManager::CameraInfo> nullCamInfo = nullptr; in Create()
729 std::unique_ptr<ConfigManager::CameraInfo>& camInfo, in Create()
DEvsEnumerator.cpp51 std::unique_ptr<ConfigManager::CameraInfo>& pInfo = sConfigManager->getCameraInfo(v); in EvsEnumerator()
/hardware/interfaces/automotive/evs/aidl/impl/default/include/
DConfigManager.h57 class CameraInfo {
68 CameraInfo() : characteristics(nullptr) {} in CameraInfo() function
70 virtual ~CameraInfo();
110 class CameraGroupInfo : public CameraInfo {
213 std::unique_ptr<CameraInfo>& getCameraInfo(const std::string& cameraId) noexcept { in getCameraInfo()
239 std::unordered_map<std::string, std::unique_ptr<CameraInfo>> mCameraInfo;
317 bool readCameraDeviceInfo(CameraInfo* aCamera, const tinyxml2::XMLElement* aDeviceElem);
334 size_t readCameraCapabilities(const tinyxml2::XMLElement* const aCapElem, CameraInfo* aCamera,
351 size_t readCameraMetadata(const tinyxml2::XMLElement* const aParamElem, CameraInfo* aCamera,
369 bool constructCameraMetadata(CameraInfo* aCamera, const size_t totalEntries,
DEvsMockCamera.h45 std::unique_ptr<ConfigManager::CameraInfo>& camInfo);
72 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo,
113 std::unique_ptr<ConfigManager::CameraInfo>& mCameraInfo;
DEvsVideoEmulatedCamera.h47 std::unique_ptr<ConfigManager::CameraInfo>& camInfo);
77 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo,
157 std::unique_ptr<ConfigManager::CameraInfo>& mCameraInfo;
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DConfigManager.cpp43 ConfigManager::CameraInfo::DeviceType ConfigManager::CameraInfo::deviceTypeFromSV( in deviceTypeFromSV()
115 CameraInfo* aCamera = new CameraInfo(); in readCameraInfo()
125 mCameraInfo.insert_or_assign(id, std::unique_ptr<CameraInfo>(aCamera)); in readCameraInfo()
138 bool ConfigManager::readCameraDeviceInfo(CameraInfo* aCamera, const XMLElement* aDeviceElem) { in readCameraDeviceInfo()
144 aCamera->deviceType = CameraInfo::deviceTypeFromSV(typeAttr->Value()); in readCameraDeviceInfo()
168 size_t ConfigManager::readCameraCapabilities(const XMLElement* const aCapElem, CameraInfo* aCamera, in readCameraCapabilities()
259 size_t ConfigManager::readCameraMetadata(const XMLElement* const aParamElem, CameraInfo* aCamera, in readCameraMetadata()
346 bool ConfigManager::constructCameraMetadata(CameraInfo* aCamera, size_t totalEntries, in constructCameraMetadata()
673 std::unique_ptr<ConfigManager::CameraInfo> aCamera; in readConfigDataFromBinary()
978 ConfigManager::CameraInfo::~CameraInfo() { in ~CameraInfo()
DEvsMockCamera.cpp55 std::unique_ptr<ConfigManager::CameraInfo>& camInfo) in EvsMockCamera()
349 std::unique_ptr<ConfigManager::CameraInfo> nullCamInfo = nullptr; in Create()
355 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo, in Create()
DEvsVideoEmulatedCamera.cpp47 std::unique_ptr<ConfigManager::CameraInfo>& camInfo) in EvsVideoEmulatedCamera()
507 std::unique_ptr<ConfigManager::CameraInfo> nullCamInfo = nullptr; in Create()
512 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo, in Create()
DEvsEnumerator.cpp99 std::unique_ptr<ConfigManager::CameraInfo>& pInfo = sConfigManager->getCameraInfo(id); in enumerateCameras()
259 using DeviceType = ConfigManager::CameraInfo::DeviceType; in openCamera()
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice_1_0.h44 using ::android::hardware::camera::device::V1_0::CameraInfo;
DCameraDevice.cpp591 CameraInfo cameraInfo; in getCameraInfo()
/hardware/interfaces/camera/device/1.0/
Dtypes.hal35 struct CameraInfo {
DICameraDevice.hal79 getCameraInfo() generates (Status status, CameraInfo info);
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp162 struct CameraInfo camInfo; in usbcam_get_camera_info()
163 memset(&camInfo, -1, sizeof (struct CameraInfo)); in usbcam_get_camera_info()