/hardware/qcom/sm7250/display/gralloc/ |
D | gr_camera_info.cpp | 42 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 …]
|
D | gr_camera_info.h | 125 class CameraInfo { 164 static CameraInfo *GetInstance(); 167 CameraInfo(); 168 ~CameraInfo(); 231 static CameraInfo *s_instance;
|
D | gr_utils.cpp | 193 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/ |
D | ConfigManager.h | 54 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,
|
D | ConfigManager.cpp | 79 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()
|
D | EvsCamera.h | 72 std::unique_ptr<ConfigManager::CameraInfo>& camInfo, 83 EvsCamera(const char* id, std::unique_ptr<ConfigManager::CameraInfo>& camInfo); 132 std::unique_ptr<ConfigManager::CameraInfo>& mCameraInfo;
|
D | EvsCamera.cpp | 53 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()
|
D | EvsEnumerator.cpp | 51 std::unique_ptr<ConfigManager::CameraInfo>& pInfo = sConfigManager->getCameraInfo(v); in EvsEnumerator()
|
/hardware/interfaces/automotive/evs/aidl/impl/default/include/ |
D | ConfigManager.h | 57 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,
|
D | EvsMockCamera.h | 45 std::unique_ptr<ConfigManager::CameraInfo>& camInfo); 72 const char* deviceName, std::unique_ptr<ConfigManager::CameraInfo>& camInfo, 113 std::unique_ptr<ConfigManager::CameraInfo>& mCameraInfo;
|
D | EvsVideoEmulatedCamera.h | 47 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/ |
D | ConfigManager.cpp | 43 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()
|
D | EvsMockCamera.cpp | 55 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()
|
D | EvsVideoEmulatedCamera.cpp | 47 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()
|
D | EvsEnumerator.cpp | 99 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/ |
D | CameraDevice_1_0.h | 44 using ::android::hardware::camera::device::V1_0::CameraInfo;
|
D | CameraDevice.cpp | 591 CameraInfo cameraInfo; in getCameraInfo()
|
/hardware/interfaces/camera/device/1.0/ |
D | types.hal | 35 struct CameraInfo {
|
D | ICameraDevice.hal | 79 getCameraInfo() generates (Status status, CameraInfo info);
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 162 struct CameraInfo camInfo; in usbcam_get_camera_info() 163 memset(&camInfo, -1, sizeof (struct CameraInfo)); in usbcam_get_camera_info()
|