class CodecVmoRange
Defined at line 18 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_vmo_range.h
This is a move only helper class around a slice of a VMO.
Currently, it works for both owned and unowned VMOs, but the use case for the latter is limited
to CodecFrames. Typically, CodecBuffer owns the CodecVmoRange, but when a CodecBuffer is used to
initialize a CodecFrame, the CodecFrame wants to make a copy of the CodecBuffer's CodecVmoRange.
Rather than duplicating the vmo, the CodecFrame will borrow the CodecBuffer's vmo.
Public Methods
void CodecVmoRange (zx::vmo vmo, uint64_t offset, size_t size)
Defined at line 9 of file ../../src/media/lib/codec_impl/codec_vmo_range.cc
void CodecVmoRange (zx::unowned_vmo , uint64_t offset, size_t size)
Defined at line 12 of file ../../src/media/lib/codec_impl/codec_vmo_range.cc
const zx::vmo & vmo ()
Defined at line 15 of file ../../src/media/lib/codec_impl/codec_vmo_range.cc
void CodecVmoRange (CodecVmoRange && )
Move only class
Defined at line 24 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_vmo_range.h
CodecVmoRange & operator= (CodecVmoRange && )
Defined at line 25 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_vmo_range.h
void CodecVmoRange (const CodecVmoRange & )
Defined at line 27 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_vmo_range.h
CodecVmoRange & operator= (const CodecVmoRange & )
Defined at line 28 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_vmo_range.h
uint64_t offset ()
Defined at line 31 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_vmo_range.h
size_t size ()
Defined at line 32 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_vmo_range.h