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

Class ImageFormat

camera/texture-view/src/main/cpp/camera_manager.h:39–45  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

37 * A Data Structure to communicate resolution between camera and ImageReader
38 */
39struct ImageFormat {
40 int32_t width;
41 int32_t height;
42
43 int32_t format; // Through out this demo, the format is fixed to
44 // YUV_420 format
45};
46
47template <typename T>
48class RangeValue {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected