fix: Remove dng
PixelFormat
This commit is contained in:
parent
12c2987b85
commit
d465c37bea
@ -12,7 +12,6 @@ import Foundation
|
||||
enum PixelFormat {
|
||||
case yuv
|
||||
case rgb
|
||||
case dng
|
||||
case native
|
||||
case unknown
|
||||
|
||||
@ -22,8 +21,6 @@ enum PixelFormat {
|
||||
return "yuv"
|
||||
case .rgb:
|
||||
return "rgb"
|
||||
case .dng:
|
||||
return "dng"
|
||||
case .native:
|
||||
return "native"
|
||||
case .unknown:
|
||||
@ -37,8 +34,6 @@ enum PixelFormat {
|
||||
self = .yuv
|
||||
case "rgb":
|
||||
self = .rgb
|
||||
case "dng":
|
||||
self = .dng
|
||||
case "native":
|
||||
self = .native
|
||||
case "unknown":
|
||||
|
@ -8,8 +8,7 @@
|
||||
*
|
||||
* - `yuv`: Frame is in YUV pixel-format (Y'CbCr 4:2:0 or NV21, 8-bit)
|
||||
* - `rgb`: Frame is in RGB pixel-format (RGB or RGBA, 8-bit)
|
||||
* - `dng`: Frame is in a depth-data pixel format (DNG)
|
||||
* - `native`: Frame is in the Camera's native Hardware Buffer format (PRIVATE). This is the most efficient Format.
|
||||
* - `unknown`: Frame has unknown/unsupported pixel-format.
|
||||
*/
|
||||
export type PixelFormat = 'yuv' | 'rgb' | 'dng' | 'native' | 'unknown'
|
||||
export type PixelFormat = 'yuv' | 'rgb' | 'native' | 'unknown'
|
||||
|
Loading…
Reference in New Issue
Block a user