struct Config

Defined at line 236 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
uint32_t framerate
StorageType storage_type
ContentType content_type
optional gop_length
optional h264_output_level
bool is_constrained_h264
uint8_t drop_frame_thresh_percentage
vector spatial_layers
InterLayerPredMode inter_layer_pred
bool require_low_delay
EncoderType required_encoder_type
bool manual_reference_buffer_control

Public Methods

void Config ()

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

void Config (const Config & config)

Defined at line 79 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, uint32_t framerate, StorageType storage_type, ContentType content_type)

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

void ~Config ()

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

std::string AsHumanReadableString ()

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

bool HasTemporalLayer ()

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

bool HasSpatialLayer ()

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

Enumerations

enum class 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 239 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.h

enum class InterLayerPredMode : int
Name Value Comments
kOff 0

Inter-layer prediction is disabled.

kOn 1

Inter-layer prediction is enabled.

kOnKeyPic 2

Inter-layer prediction is enabled for key picture.

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

enum class 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 248 of file ../../src/media/third_party/chromium_media/media/video/video_encode_accelerator.h

enum class EncoderType
Name Value
kHardware 0
kSoftware 1
kNoPreference 2

Used to require a certain encoder type is selected. The default is that

hardware is required.

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

Records