class Chunk

Defined at line 51 of file ../../src/camera/lib/raw_formats/raw_packing.h

Interface for a "Chunk". All chunks have a size in bits, some repetition specifier, and a type

(used for casting to the actual implementation). They should also be cloneable (performs dynamic

allocation).

Public Methods

uint64_t num_bits ()
ChunkType type ()
ChunkRepeat repeat ()
Chunk * clone ()
void ~Chunk ()

Defined at line 53 of file ../../src/camera/lib/raw_formats/raw_packing.h

template <typename T>
const T & get (const Chunk * chunk)

A helper for grabbing a const reference to the underlying implementation.

Defined at line 64 of file ../../src/camera/lib/raw_formats/raw_packing.h