2 #define _JPEG_FRAME_H 1
8 bool is_semiplanar = false;
9 std::unique_ptr<uint8_t[]> y;
10 std::unique_ptr<uint8_t[]> cb, cr; // For planar.
11 std::unique_ptr<uint8_t[]> cbcr; // For semiplanar.
12 unsigned width, height;
13 unsigned chroma_subsampling_x, chroma_subsampling_y;
14 unsigned pitch_y, pitch_chroma;
15 std::string exif_data;
18 #endif // !defined(_JPEG_FRAME_H)