Lines Matching refs:PublicFormat
26 int mapPublicFormatToHalFormat(PublicFormat f) { in mapPublicFormatToHalFormat()
28 case PublicFormat::JPEG: in mapPublicFormatToHalFormat()
29 case PublicFormat::DEPTH_POINT_CLOUD: in mapPublicFormatToHalFormat()
30 case PublicFormat::DEPTH_JPEG: in mapPublicFormatToHalFormat()
31 case PublicFormat::HEIC: in mapPublicFormatToHalFormat()
33 case PublicFormat::DEPTH16: in mapPublicFormatToHalFormat()
35 case PublicFormat::RAW_SENSOR: in mapPublicFormatToHalFormat()
36 case PublicFormat::RAW_DEPTH: in mapPublicFormatToHalFormat()
44 android_dataspace mapPublicFormatToHalDataspace(PublicFormat f) { in mapPublicFormatToHalDataspace()
47 case PublicFormat::JPEG: in mapPublicFormatToHalDataspace()
50 case PublicFormat::DEPTH_POINT_CLOUD: in mapPublicFormatToHalDataspace()
51 case PublicFormat::DEPTH16: in mapPublicFormatToHalDataspace()
52 case PublicFormat::RAW_DEPTH: in mapPublicFormatToHalDataspace()
55 case PublicFormat::RAW_SENSOR: in mapPublicFormatToHalDataspace()
56 case PublicFormat::RAW_PRIVATE: in mapPublicFormatToHalDataspace()
57 case PublicFormat::RAW10: in mapPublicFormatToHalDataspace()
58 case PublicFormat::RAW12: in mapPublicFormatToHalDataspace()
61 case PublicFormat::YUV_420_888: in mapPublicFormatToHalDataspace()
62 case PublicFormat::NV21: in mapPublicFormatToHalDataspace()
63 case PublicFormat::YV12: in mapPublicFormatToHalDataspace()
66 case PublicFormat::DEPTH_JPEG: in mapPublicFormatToHalDataspace()
69 case PublicFormat::HEIC: in mapPublicFormatToHalDataspace()
80 PublicFormat mapHalFormatDataspaceToPublicFormat(int format, android_dataspace dataSpace) { in mapHalFormatDataspaceToPublicFormat()
95 return static_cast<PublicFormat>(format); in mapHalFormatDataspaceToPublicFormat()
99 return PublicFormat::RAW_DEPTH; in mapHalFormatDataspaceToPublicFormat()
101 return PublicFormat::RAW_SENSOR; in mapHalFormatDataspaceToPublicFormat()
105 return PublicFormat::RAW_PRIVATE; in mapHalFormatDataspaceToPublicFormat()
108 return PublicFormat::NV16; in mapHalFormatDataspaceToPublicFormat()
111 return PublicFormat::NV21; in mapHalFormatDataspaceToPublicFormat()
114 return PublicFormat::YUY2; in mapHalFormatDataspaceToPublicFormat()
117 return PublicFormat::PRIVATE; in mapHalFormatDataspaceToPublicFormat()
122 return PublicFormat::DEPTH16; in mapHalFormatDataspaceToPublicFormat()
125 return PublicFormat::Y16; in mapHalFormatDataspaceToPublicFormat()
131 return PublicFormat::DEPTH_POINT_CLOUD; in mapHalFormatDataspaceToPublicFormat()
133 return PublicFormat::JPEG; in mapHalFormatDataspaceToPublicFormat()
135 return PublicFormat::HEIC; in mapHalFormatDataspaceToPublicFormat()
138 return PublicFormat::DEPTH_JPEG; in mapHalFormatDataspaceToPublicFormat()
141 return PublicFormat::JPEG; in mapHalFormatDataspaceToPublicFormat()
146 return PublicFormat::UNKNOWN; in mapHalFormatDataspaceToPublicFormat()
149 return PublicFormat::UNKNOWN; in mapHalFormatDataspaceToPublicFormat()