Classes | |
| struct | FfmpegOption |
Functions | |
| void | append_encoder_options (void *object, std::vector< EncoderOptionInfo > &result, std::set< std::string > &seen) |
| bool | apply_ffmpeg_options (const std::vector< FfmpegOption > &options, AVCodecContext *context, AVFormatContext *output_context) |
| AVPixelFormat | choose_software_pixel_format (const AVCodec *codec, AVPixelFormat requested_format) |
| uint16_t | clamp10 (float v) |
| bool | codec_uses_hardware (const AVCodec *codec) |
| void | convertBt2020Rgba16EncodedToYuv420p10 (const uint16_t *rgba, int src_stride_shorts, uint16_t *y_plane, int y_stride_shorts, uint16_t *u_plane, int u_stride_shorts, uint16_t *v_plane, int v_stride_shorts, int width, int height) |
| void | convertRgbaToBt2020PqYuv420p10 (const uint8_t *rgba, int src_stride_bytes, uint16_t *y_plane, int y_stride_shorts, uint16_t *u_plane, int u_stride_shorts, uint16_t *v_plane, int v_stride_shorts, int width, int height) |
| const std::string * | find_ffmpeg_option (const std::vector< FfmpegOption > &options, const std::string &name) |
| bool | is_codec_name (const std::string &value) |
| bool | is_hardware_pixel_format (AVPixelFormat format) |
| bool | is_nvenc_tune (const std::string &tune) |
| bool | is_reserved_ffmpeg_option (const std::string &name) |
| bool | is_valid_x264_preset (const std::string &p) |
| bool | looks_like_option (const std::string &token) |
| std::string | lowercase_ascii (std::string text) |
| std::string | normalize_ffmpeg_option_name (std::string name) |
| std::string | number_text (double value) |
| std::string | nvenc_preset_to_software (const std::string &preset) |
| int | option_base_type (AVOptionType type) |
| bool | option_has_numeric_range (AVOptionType type) |
| std::string | option_type_name (AVOptionType type) |
| bool | parse_ffmpeg_options (const std::string &text, std::vector< FfmpegOption > &options) |
| float | pqOetf (float L) |
| bool | set_named_encoder_option (void *object, const char *name, const std::string &value) |
| std::vector< FfmpegOption > | software_fallback_options (const std::vector< FfmpegOption > &options, bool use_hevc_codec) |
| float | srgbEotf (float v) |
| std::vector< AVPixelFormat > | supported_pixel_formats (const AVCodec *codec) |
| bool | tokenize_ffmpeg_options (const std::string &text, std::vector< std::string > &tokens, std::string &error) |
| const char * | x264_preset_to_nvenc (const std::string &p) |
Variables | |
| constexpr float | kPqC1 = 3424.0f / 4096.0f |
| constexpr float | kPqC2 = (2413.0f / 4096.0f) * 32.0f |
| constexpr float | kPqC3 = (2392.0f / 4096.0f) * 32.0f |
| constexpr float | kPqM1 = 2610.0f / 16384.0f |
| constexpr float | kPqM2 = (2523.0f / 4096.0f) * 128.0f |
| constexpr float | kSdrRefFraction = 100.0f / 10000.0f |
| void anonymous_namespace{mxwrite.cpp}::append_encoder_options | ( | void * | object, |
| std::vector< EncoderOptionInfo > & | result, | ||
| std::set< std::string > & | seen ) |
Definition at line 930 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::apply_ffmpeg_options | ( | const std::vector< FfmpegOption > & | options, |
| AVCodecContext * | context, | ||
| AVFormatContext * | output_context ) |
Definition at line 643 of file mxwrite.cpp.
| AVPixelFormat anonymous_namespace{mxwrite.cpp}::choose_software_pixel_format | ( | const AVCodec * | codec, |
| AVPixelFormat | requested_format ) |
Definition at line 801 of file mxwrite.cpp.
|
inline |
Definition at line 55 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::codec_uses_hardware | ( | const AVCodec * | codec | ) |
Definition at line 840 of file mxwrite.cpp.
| void anonymous_namespace{mxwrite.cpp}::convertBt2020Rgba16EncodedToYuv420p10 | ( | const uint16_t * | rgba, |
| int | src_stride_shorts, | ||
| uint16_t * | y_plane, | ||
| int | y_stride_shorts, | ||
| uint16_t * | u_plane, | ||
| int | u_stride_shorts, | ||
| uint16_t * | v_plane, | ||
| int | v_stride_shorts, | ||
| int | width, | ||
| int | height ) |
Definition at line 146 of file mxwrite.cpp.
| void anonymous_namespace{mxwrite.cpp}::convertRgbaToBt2020PqYuv420p10 | ( | const uint8_t * | rgba, |
| int | src_stride_bytes, | ||
| uint16_t * | y_plane, | ||
| int | y_stride_shorts, | ||
| uint16_t * | u_plane, | ||
| int | u_stride_shorts, | ||
| uint16_t * | v_plane, | ||
| int | v_stride_shorts, | ||
| int | width, | ||
| int | height ) |
Definition at line 67 of file mxwrite.cpp.
| const std::string * anonymous_namespace{mxwrite.cpp}::find_ffmpeg_option | ( | const std::vector< FfmpegOption > & | options, |
| const std::string & | name ) |
Definition at line 628 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::is_codec_name | ( | const std::string & | value | ) |
Definition at line 578 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::is_hardware_pixel_format | ( | AVPixelFormat | format | ) |
Definition at line 796 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::is_nvenc_tune | ( | const std::string & | tune | ) |
Definition at line 695 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::is_reserved_ffmpeg_option | ( | const std::string & | name | ) |
Definition at line 638 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::is_valid_x264_preset | ( | const std::string & | p | ) |
Definition at line 468 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::looks_like_option | ( | const std::string & | token | ) |
Definition at line 498 of file mxwrite.cpp.
| std::string anonymous_namespace{mxwrite.cpp}::lowercase_ascii | ( | std::string | text | ) |
Definition at line 478 of file mxwrite.cpp.
| std::string anonymous_namespace{mxwrite.cpp}::normalize_ffmpeg_option_name | ( | std::string | name | ) |
Definition at line 563 of file mxwrite.cpp.
| std::string anonymous_namespace{mxwrite.cpp}::number_text | ( | double | value | ) |
Definition at line 924 of file mxwrite.cpp.
| std::string anonymous_namespace{mxwrite.cpp}::nvenc_preset_to_software | ( | const std::string & | preset | ) |
Definition at line 700 of file mxwrite.cpp.
| int anonymous_namespace{mxwrite.cpp}::option_base_type | ( | AVOptionType | type | ) |
Definition at line 490 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::option_has_numeric_range | ( | AVOptionType | type | ) |
Definition at line 912 of file mxwrite.cpp.
| std::string anonymous_namespace{mxwrite.cpp}::option_type_name | ( | AVOptionType | type | ) |
Definition at line 860 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::parse_ffmpeg_options | ( | const std::string & | text, |
| std::vector< FfmpegOption > & | options ) |
Definition at line 585 of file mxwrite.cpp.
|
inline |
Definition at line 47 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::set_named_encoder_option | ( | void * | object, |
| const char * | name, | ||
| const std::string & | value ) |
Definition at line 671 of file mxwrite.cpp.
| std::vector< FfmpegOption > anonymous_namespace{mxwrite.cpp}::software_fallback_options | ( | const std::vector< FfmpegOption > & | options, |
| bool | use_hevc_codec ) |
Definition at line 718 of file mxwrite.cpp.
|
inline |
Definition at line 41 of file mxwrite.cpp.
| std::vector< AVPixelFormat > anonymous_namespace{mxwrite.cpp}::supported_pixel_formats | ( | const AVCodec * | codec | ) |
Definition at line 770 of file mxwrite.cpp.
| bool anonymous_namespace{mxwrite.cpp}::tokenize_ffmpeg_options | ( | const std::string & | text, |
| std::vector< std::string > & | tokens, | ||
| std::string & | error ) |
Definition at line 506 of file mxwrite.cpp.
| const char * anonymous_namespace{mxwrite.cpp}::x264_preset_to_nvenc | ( | const std::string & | p | ) |
Definition at line 449 of file mxwrite.cpp.
|
constexpr |
Definition at line 35 of file mxwrite.cpp.
|
constexpr |
Definition at line 36 of file mxwrite.cpp.
|
constexpr |
Definition at line 37 of file mxwrite.cpp.
|
constexpr |
Definition at line 33 of file mxwrite.cpp.
|
constexpr |
Definition at line 34 of file mxwrite.cpp.
|
constexpr |
Definition at line 39 of file mxwrite.cpp.