template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2279 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h

Public Methods

::fuchsia_media::wire::H264EncoderSettings Build ()

Build and return the table. The builder should not be used after this.

bool has_bit_rate ()
void clear_bit_rate ()

Clears the bit_rate field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint32_t & bit_rate ()

Target bits per second for encoded stream.

If omitted, interpreted as 200,000.

BuilderImpl & bit_rate (uint32_t elem)

Target bits per second for encoded stream.

If omitted, interpreted as 200,000.

bool has_frame_rate ()
void clear_frame_rate ()

Clears the frame_rate field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint32_t & frame_rate ()

Target frames per second for encoded stream.

If omitted, interpreted as 30.

BuilderImpl & frame_rate (uint32_t elem)

Target frames per second for encoded stream.

If omitted, interpreted as 30.

bool has_gop_size ()
void clear_gop_size ()

Clears the gop_size field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint32_t & gop_size ()

Number of pictures per keyframe. Setting to 0 will disable key frame

encoding, except for if force_key_frame is set to true.

If omitted, interpreted as 8.

BuilderImpl & gop_size (uint32_t elem)

Number of pictures per keyframe. Setting to 0 will disable key frame

encoding, except for if force_key_frame is set to true.

If omitted, interpreted as 8.

bool has_variable_frame_rate ()
void clear_variable_frame_rate ()

Clears the variable_frame_rate field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & variable_frame_rate ()

Whether to enable frame rate adjustments in order to meet target bitrate.

If omitted, interpreted as false.

BuilderImpl & variable_frame_rate (bool elem)

Whether to enable frame rate adjustments in order to meet target bitrate.

If omitted, interpreted as false.

bool has_min_frame_rate ()
void clear_min_frame_rate ()

Clears the min_frame_rate field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint32_t & min_frame_rate ()

Lowest frame rate allowed if `variable_frame_rate` is enabled. If

omitted, interpreted as 10.

BuilderImpl & min_frame_rate (uint32_t elem)

Lowest frame rate allowed if `variable_frame_rate` is enabled. If

omitted, interpreted as 10.

bool has_force_key_frame ()
void clear_force_key_frame ()

Clears the force_key_frame field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & force_key_frame ()

If true, next frame encoded will be a key frame. If omitted, interpreted

as false.

BuilderImpl & force_key_frame (bool elem)

If true, next frame encoded will be a key frame. If omitted, interpreted

as false.

bool has_quantization_params ()
void clear_quantization_params ()

Clears the quantization_params field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_media::wire::H264QuantizationParameters & quantization_params ()

Allow customization of quantization parameters for encoding. Each frame

submitted after setting this will use the new values. If omitted, no

change from encoder defaults is made.

BuilderImpl & quantization_params (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media::wire::H264QuantizationParameters>> elem)

Allow customization of quantization parameters for encoding. Each frame

submitted after setting this will use the new values. If omitted, no

change from encoder defaults is made.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_media::wire::H264EncoderSettings, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_media::wire::H264EncoderSettings>> && frame)

Records