MCPcopy Create free account
hub / github.com/android/ndk-samples / ImageFormat

Class ImageFormat

camera/basic/src/main/cpp/image_reader.h:26–32  ·  view source on GitHub ↗

* ImageFormat: * A Data Structure to communicate resolution between camera and ImageReader */

Source from the content-addressed store, hash-verified

24 * A Data Structure to communicate resolution between camera and ImageReader
25 */
26struct ImageFormat {
27 int32_t width;
28 int32_t height;
29
30 int32_t format; // Through out this demo, the format is fixed to
31 // YUV_420 format
32};
33
34class ImageReader {
35 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected