class CodecFrame

Defined at line 17 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_frame.h

CodecFrame is used by some core codecs, regardless of whether there's a CodecBuffer or just a

VMO.

Move-only class

Public Methods

void CodecFrame (const CodecBuffer & codec_buffer)

Construct CodecFrame from an existing CodecBuffer.

When using this constructor, the ownership

of the underlying VMO will remain with the CodecBuffer and the CodecBuffer must outlive the

CodecFrame.

Defined at line 8 of file ../../src/media/lib/codec_impl/codec_frame.cc

void CodecFrame (BufferSpec buffer_spec)

Construct CodecFrame from a BufferSpec.

Defined at line 16 of file ../../src/media/lib/codec_impl/codec_frame.cc

void CodecFrame (CodecFrame && from)

Defined at line 35 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_frame.h

CodecFrame & operator= (CodecFrame && from)

Defined at line 36 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_frame.h

void CodecFrame (const CodecFrame & )

Defined at line 38 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_frame.h

CodecFrame & operator= (const CodecFrame & )

Defined at line 39 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_frame.h

BufferSpec & buffer_spec ()

Defined at line 41 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_frame.h

const CodecBuffer * buffer_ptr ()

Defined at line 42 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_frame.h

uint32_t & initial_usage_count ()

This count _may_ be used to indicate to some core codecs which CodecFrame(s) are initially

free vs. initially used (and how many times) until they become free for the first time when

"returned" enough times later (without the core codec instance ever having indicated the frame

as being output; the logical frame became used when output by a previous core codec instance,

or is simply not being provided to the core codec just yet). Not all core codecs use this

field.

Defined at line 50 of file ../../src/media/lib/codec_impl/include/lib/media/codec_impl/codec_frame.h

Records