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.

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 ()

Within some core codec instances (with a sequence of different core codec instances below a

single CodecAdapter instance), this count _may_ be used to indicate 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 new core codec instance ever having

indicated the frame as being output; the logical frame became used when output by a previous

core codec instance (under the same CodecAdapter), or is simply not being provided to the core

codec instance just yet). Not all core codecs use this field.

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

Records