struct Config

Defined at line 190 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.h

Parameters required for VEA initialization.

Public Members

Size input_visible_size
VideoCodecProfile output_profile
Bitrate bitrate
optional initial_framerate
optional gop_length
optional h264_output_level
bool is_constrained_h264
optional storage_type
ContentType content_type
vector spatial_layers
InterLayerPredMode inter_layer_pred
bool require_low_delay

Public Methods

void Config ()

Defined at line 35 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc

void Config (const Config & config)

Defined at line 41 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc

void Config (const gfx::Size & input_visible_size, VideoCodecProfile output_profile, const Bitrate & bitrate, std::optional<uint32_t> initial_framerate, std::optional<uint32_t> gop_length, std::optional<uint8_t> h264_output_level, bool is_constrained_h264, std::optional<StorageType> storage_type, ContentType content_type, const std::vector<SpatialLayer> & spatial_layers, InterLayerPredMode inter_layer_pred)

Defined at line 43 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc

void ~Config ()

Defined at line 70 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc

std::string AsHumanReadableString ()

Defined at line 72 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc

bool HasTemporalLayer ()

Defined at line 130 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc

bool HasSpatialLayer ()

Defined at line 136 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.cc

Enumerations

enum ContentType
Name Value
kCamera 0
kDisplay 1

Indicates if video content should be treated as a "normal" camera feed

or as generated (e.g. screen capture).

Defined at line 193 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.h

enum InterLayerPredMode
Name Value
kOff 0
kOn 1
kOnKeyPic 2

Defined at line 194 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.h

enum StorageType
Name Value
kShmem 0
kGpuMemoryBuffer 1

Indicates the storage type of a video frame provided on Encode().

kShmem if a video frame has a shared memory.

kGpuMemoryBuffer if a video frame has a GpuMemoryBuffer.

Defined at line 202 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.h

Records