|
FFmpeg
|
#include <VideoToolbox/VideoToolbox.h>#include <CoreVideo/CoreVideo.h>#include <CoreMedia/CoreMedia.h>#include <TargetConditionals.h>#include <Availability.h>#include "avcodec.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/avassert.h"#include "libavutil/avstring.h"#include "libavutil/pixdesc.h"#include "libavutil/hwcontext_videotoolbox.h"#include "codec_internal.h"#include "internal.h"#include <pthread.h>#include "atsc_a53.h"#include "encode.h"#include "h264.h"#include "h264_sei.h"#include "hwconfig.h"#include <dlfcn.h>Go to the source code of this file.
Data Structures | |
| struct | ExtraSEI |
| struct | BufNode |
| struct | VTEncContext |
Macros | |
| #define | TARGET_CPU_ARM64 0 |
| #define | GET_SYM(symbol, defaultVal) |
| #define | H264_PROFILE_CONSTRAINED_HIGH (AV_PROFILE_H264_HIGH | AV_PROFILE_H264_CONSTRAINED) |
| #define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
| #define | COMMON_OPTIONS |
| #define | OFFSET(x) offsetof(VTEncContext, x) |
Typedefs | |
| typedef OSStatus(* | getParameterSetAtIndex) (CMFormatDescriptionRef videoDesc, size_t parameterSetIndex, const uint8_t **parameterSetPointerOut, size_t *parameterSetSizeOut, size_t *parameterSetCountOut, int *NALUnitHeaderLengthOut) |
Enumerations | |
| enum | { kCMVideoCodecType_HEVC = 'hvc1' } |
| enum | { kCMVideoCodecType_HEVCWithAlpha = 'muxa' } |
| enum | { kCVPixelFormatType_420YpCbCr10BiPlanarFullRange = 'xf20' } |
| enum | { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' } |
| enum | { kVTQPModulationLevel_Default = -1 } |
| enum | { kVTQPModulationLevel_Disable = 0 } |
| enum | VTH264Entropy { VT_ENTROPY_NOT_SET, VT_CAVLC, VT_CABAC } |
Functions | |
| static void | loadVTEncSymbols (void) |
| static void | vtenc_free_buf_node (BufNode *info) |
| static int | vt_dump_encoder (AVCodecContext *avctx) |
| static int | vtenc_populate_extradata (AVCodecContext *avctx, CMVideoCodecType codec_type, CFStringRef profile_level, CFNumberRef gamma_level, CFDictionaryRef enc_info, CFDictionaryRef pixel_buffer_info) |
| static void | vt_release_num (CFNumberRef *refPtr) |
| NULL-safe release of *refPtr, and sets value to NULL. More... | |
| static void | set_async_error (VTEncContext *vtctx, int err) |
| static void | clear_frame_queue (VTEncContext *vtctx) |
| static void | vtenc_reset (VTEncContext *vtctx) |
| static int | vtenc_q_pop (VTEncContext *vtctx, bool wait, CMSampleBufferRef *buf, ExtraSEI *sei) |
| static void | vtenc_q_push (VTEncContext *vtctx, BufNode *info) |
| static int | count_nalus (size_t length_code_size, CMSampleBufferRef sample_buffer, int *count) |
| static CMVideoCodecType | get_cm_codec_type (AVCodecContext *avctx, int profile, double alpha_quality) |
| static int | get_params_size (AVCodecContext *avctx, CMVideoFormatDescriptionRef vid_fmt, size_t *size) |
| Get the parameter sets from a CMSampleBufferRef. More... | |
| static int | copy_param_sets (AVCodecContext *avctx, CMVideoFormatDescriptionRef vid_fmt, uint8_t *dst, size_t dst_size) |
| static int | set_extradata (AVCodecContext *avctx, CMSampleBufferRef sample_buffer) |
| static void | vtenc_output_callback (void *ctx, void *sourceFrameCtx, OSStatus status, VTEncodeInfoFlags flags, CMSampleBufferRef sample_buffer) |
| static int | get_length_code_size (AVCodecContext *avctx, CMSampleBufferRef sample_buffer, size_t *size) |
| static bool | get_vt_h264_profile_level (AVCodecContext *avctx, CFStringRef *profile_level_val) |
| static bool | get_vt_hevc_profile_level (AVCodecContext *avctx, CFStringRef *profile_level_val) |
| static int | get_cv_pixel_format (AVCodecContext *avctx, enum AVPixelFormat fmt, enum AVColorRange range, int *av_pixel_format, int *range_guessed) |
| static void | add_color_attr (AVCodecContext *avctx, CFMutableDictionaryRef dict) |
| static int | create_cv_pixel_buffer_info (AVCodecContext *avctx, CFMutableDictionaryRef *dict) |
| static int | get_cv_gamma (AVCodecContext *avctx, CFNumberRef *gamma_level) |
| static bool | vtenc_qscale_enabled (void) |
| static void | set_encoder_property_or_log (AVCodecContext *avctx, CFStringRef key, const char *print_option_name, CFTypeRef value) |
| static int | set_encoder_int_property_or_log (AVCodecContext *avctx, CFStringRef key, const char *print_option_name, int value) |
| static int | vtenc_create_encoder (AVCodecContext *avctx, CMVideoCodecType codec_type, CFStringRef profile_level, CFNumberRef gamma_level, CFDictionaryRef enc_info, CFDictionaryRef pixel_buffer_info, bool constant_bit_rate, VTCompressionSessionRef *session) |
| static int | vtenc_configure_encoder (AVCodecContext *avctx) |
| static av_cold int | vtenc_init (AVCodecContext *avctx) |
| static void | vtenc_get_frame_info (CMSampleBufferRef buffer, bool *is_key_frame) |
| static int | is_post_sei_nal_type (int nal_type) |
| static int | find_sei_end (AVCodecContext *avctx, uint8_t *nal_data, size_t nal_size, uint8_t **sei_end) |
| static int | copy_emulation_prev (const uint8_t *src, size_t src_size, uint8_t *dst, ssize_t dst_offset, size_t dst_size) |
| Copies the data inserting emulation prevention bytes as needed. More... | |
| static int | write_sei (const ExtraSEI *sei, int sei_type, uint8_t *dst, size_t dst_size) |
| static int | copy_replace_length_codes (AVCodecContext *avctx, size_t length_code_size, CMSampleBufferRef sample_buffer, ExtraSEI *sei, uint8_t *dst_data, size_t dst_size) |
| Copies NAL units and replaces length codes with H.264 Annex B start codes. More... | |
| static int | get_sei_msg_bytes (const ExtraSEI *sei, int type) |
| Returns a sufficient number of bytes to contain the sei data. More... | |
| static int | vtenc_cm_to_avpacket (AVCodecContext *avctx, CMSampleBufferRef sample_buffer, AVPacket *pkt, ExtraSEI *sei) |
| static int | get_cv_pixel_info (AVCodecContext *avctx, const AVFrame *frame, int *color, int *plane_count, size_t *widths, size_t *heights, size_t *strides, size_t *contiguous_buf_size) |
| static int | copy_avframe_to_pixel_buffer (AVCodecContext *avctx, const AVFrame *frame, CVPixelBufferRef cv_img, const size_t *plane_strides, const size_t *plane_rows) |
| static int | create_cv_pixel_buffer (AVCodecContext *avctx, const AVFrame *frame, CVPixelBufferRef *cv_img, BufNode *node) |
| static int | create_encoder_dict_h264 (const AVFrame *frame, CFDictionaryRef *dict_out) |
| static int | vtenc_send_frame (AVCodecContext *avctx, VTEncContext *vtctx, const AVFrame *frame) |
| static av_cold int | vtenc_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
| static av_cold int | vtenc_close (AVCodecContext *avctx) |
| #define TARGET_CPU_ARM64 0 |
Definition at line 63 of file videotoolboxenc.c.
| #define GET_SYM | ( | symbol, | |
| defaultVal | |||
| ) |
Definition at line 144 of file videotoolboxenc.c.
| #define H264_PROFILE_CONSTRAINED_HIGH (AV_PROFILE_H264_HIGH | AV_PROFILE_H264_CONSTRAINED) |
Definition at line 222 of file videotoolboxenc.c.
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 2911 of file videotoolboxenc.c.
| #define COMMON_OPTIONS |
Definition at line 2912 of file videotoolboxenc.c.
| #define OFFSET | ( | x | ) | offsetof(VTEncContext, x) |
Definition at line 2938 of file videotoolboxenc.c.
| typedef OSStatus(* getParameterSetAtIndex) (CMFormatDescriptionRef videoDesc, size_t parameterSetIndex, const uint8_t **parameterSetPointerOut, size_t *parameterSetSizeOut, size_t *parameterSetCountOut, int *NALUnitHeaderLengthOut) |
Definition at line 66 of file videotoolboxenc.c.
| anonymous enum |
| Enumerator | |
|---|---|
| kCMVideoCodecType_HEVC | |
Definition at line 45 of file videotoolboxenc.c.
| anonymous enum |
| Enumerator | |
|---|---|
| kCMVideoCodecType_HEVCWithAlpha | |
Definition at line 49 of file videotoolboxenc.c.
| anonymous enum |
| Enumerator | |
|---|---|
| kCVPixelFormatType_420YpCbCr10BiPlanarFullRange | |
Definition at line 53 of file videotoolboxenc.c.
| anonymous enum |
| Enumerator | |
|---|---|
| kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange | |
Definition at line 54 of file videotoolboxenc.c.
| anonymous enum |
| Enumerator | |
|---|---|
| kVTQPModulationLevel_Default | |
Definition at line 58 of file videotoolboxenc.c.
| anonymous enum |
| Enumerator | |
|---|---|
| kVTQPModulationLevel_Disable | |
Definition at line 59 of file videotoolboxenc.c.
| enum VTH264Entropy |
| Enumerator | |
|---|---|
| VT_ENTROPY_NOT_SET | |
| VT_CAVLC | |
| VT_CABAC | |
Definition at line 224 of file videotoolboxenc.c.
|
static |
Definition at line 155 of file videotoolboxenc.c.
Referenced by vtenc_init().
|
static |
Definition at line 294 of file videotoolboxenc.c.
Referenced by set_async_error(), vtenc_output_callback(), vtenc_populate_extradata(), vtenc_q_pop(), and vtenc_send_frame().
|
static |
Definition at line 306 of file videotoolboxenc.c.
Referenced by vtenc_create_encoder().
|
static |
Definition at line 2736 of file videotoolboxenc.c.
Referenced by vtenc_configure_encoder().
|
static |
NULL-safe release of *refPtr, and sets value to NULL.
Definition at line 351 of file videotoolboxenc.c.
Referenced by create_cv_pixel_buffer_info().
|
static |
Definition at line 360 of file videotoolboxenc.c.
Referenced by clear_frame_queue(), and vtenc_output_callback().
|
static |
Definition at line 380 of file videotoolboxenc.c.
Referenced by vtenc_close().
|
static |
Definition at line 385 of file videotoolboxenc.c.
Referenced by create_cv_pixel_buffer(), vtenc_close(), and vtenc_populate_extradata().
|
static |
Definition at line 413 of file videotoolboxenc.c.
Referenced by vtenc_frame(), and vtenc_populate_extradata().
|
static |
Definition at line 461 of file videotoolboxenc.c.
Referenced by vtenc_output_callback().
|
static |
Definition at line 477 of file videotoolboxenc.c.
Referenced by vtenc_cm_to_avpacket().
|
static |
Definition at line 520 of file videotoolboxenc.c.
Referenced by vtenc_configure_encoder().
|
static |
Get the parameter sets from a CMSampleBufferRef.
| dst | If *dst isn't NULL, the parameters are copied into existing memory. *dst_size must be set accordingly when *dst != NULL. If *dst is NULL, it will be allocated. In all cases, *dst_size is set to the number of bytes used starting at *dst. |
Definition at line 571 of file videotoolboxenc.c.
Referenced by set_extradata(), and vtenc_cm_to_avpacket().
|
static |
Definition at line 625 of file videotoolboxenc.c.
Referenced by set_extradata(), and vtenc_cm_to_avpacket().
|
static |
Definition at line 689 of file videotoolboxenc.c.
Referenced by vtenc_output_callback().
|
static |
Definition at line 738 of file videotoolboxenc.c.
Referenced by vtenc_create_encoder().
|
static |
Definition at line 781 of file videotoolboxenc.c.
Referenced by vtenc_cm_to_avpacket().
|
static |
Definition at line 818 of file videotoolboxenc.c.
Referenced by vtenc_configure_encoder().
|
static |
Definition at line 947 of file videotoolboxenc.c.
Referenced by vtenc_configure_encoder().
|
static |
Definition at line 999 of file videotoolboxenc.c.
Referenced by create_cv_pixel_buffer_info(), and get_cv_pixel_info().
|
static |
Definition at line 1023 of file videotoolboxenc.c.
Referenced by create_cv_pixel_buffer_info().
|
static |
Definition at line 1045 of file videotoolboxenc.c.
Referenced by vtenc_configure_encoder().
|
static |
Definition at line 1112 of file videotoolboxenc.c.
Referenced by vtenc_configure_encoder().
|
static |
Definition at line 1130 of file videotoolboxenc.c.
Referenced by vtenc_create_encoder().
|
static |
Definition at line 1135 of file videotoolboxenc.c.
Referenced by set_encoder_int_property_or_log(), and vtenc_create_encoder().
|
static |
Definition at line 1157 of file videotoolboxenc.c.
Referenced by vtenc_create_encoder().
|
static |
Definition at line 1176 of file videotoolboxenc.c.
Referenced by vtenc_configure_encoder(), and vtenc_populate_extradata().
|
static |
Definition at line 1635 of file videotoolboxenc.c.
Referenced by create_cv_pixel_buffer(), and vtenc_init().
|
static |
Definition at line 1771 of file videotoolboxenc.c.
|
static |
Definition at line 1807 of file videotoolboxenc.c.
Referenced by vtenc_cm_to_avpacket().
|
static |
Definition at line 1834 of file videotoolboxenc.c.
Referenced by copy_replace_length_codes().
|
static |
Definition at line 1845 of file videotoolboxenc.c.
Referenced by copy_replace_length_codes().
|
static |
Copies the data inserting emulation prevention bytes as needed.
Existing data in the destination can be taken into account by providing dst with a dst_offset > 0.
Definition at line 1907 of file videotoolboxenc.c.
Referenced by get_sei_msg_bytes(), and write_sei().
|
static |
Definition at line 1958 of file videotoolboxenc.c.
Referenced by copy_replace_length_codes().
|
static |
Copies NAL units and replaces length codes with H.264 Annex B start codes.
On failure, the contents of dst_data may have been modified.
| length_code_size | Byte length of each length code |
| sample_buffer | NAL units prefixed with length codes. |
| sei | Optional A53 closed captions SEI data. |
| dst_data | Must be zeroed before calling this function. Contains the copied NAL units prefixed with start codes when the function returns successfully. |
| dst_size | Length of dst_data |
Definition at line 2031 of file videotoolboxenc.c.
Referenced by vtenc_cm_to_avpacket().
|
static |
Returns a sufficient number of bytes to contain the sei data.
It may be greater than the minimum required.
Definition at line 2188 of file videotoolboxenc.c.
Referenced by vtenc_cm_to_avpacket().
|
static |
Definition at line 2205 of file videotoolboxenc.c.
Referenced by vtenc_frame().
|
static |
Definition at line 2335 of file videotoolboxenc.c.
Referenced by create_cv_pixel_buffer().
|
static |
Definition at line 2399 of file videotoolboxenc.c.
Referenced by create_cv_pixel_buffer().
|
static |
Definition at line 2491 of file videotoolboxenc.c.
Referenced by vtenc_send_frame().
|
static |
Definition at line 2595 of file videotoolboxenc.c.
Referenced by vtenc_send_frame().
|
static |
Definition at line 2611 of file videotoolboxenc.c.
Referenced by vtenc_frame().
|
static |
Definition at line 2672 of file videotoolboxenc.c.
|
static |
Definition at line 2839 of file videotoolboxenc.c.
| CFStringRef kCVImageBufferColorPrimaries_ITU_R_2020 |
Definition at line 89 of file videotoolboxenc.c.
Referenced by av_map_videotoolbox_color_primaries_from_av(), and loadVTEncSymbols().
| CFStringRef kCVImageBufferTransferFunction_ITU_R_2020 |
Definition at line 90 of file videotoolboxenc.c.
Referenced by av_map_videotoolbox_color_trc_from_av(), and loadVTEncSymbols().
| CFStringRef kCVImageBufferYCbCrMatrix_ITU_R_2020 |
Definition at line 91 of file videotoolboxenc.c.
Referenced by av_map_videotoolbox_color_matrix_from_av(), and loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_H264EntropyMode |
Definition at line 93 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTH264EntropyMode_CAVLC |
Definition at line 94 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTH264EntropyMode_CABAC |
Definition at line 95 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Baseline_4_0 |
Definition at line 97 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Baseline_4_2 |
Definition at line 98 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Baseline_5_0 |
Definition at line 99 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Baseline_5_1 |
Definition at line 100 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Baseline_5_2 |
Definition at line 101 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Baseline_AutoLevel |
Definition at line 102 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Main_4_2 |
Definition at line 103 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Main_5_1 |
Definition at line 104 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Main_5_2 |
Definition at line 105 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Main_AutoLevel |
Definition at line 106 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_3_0 |
Definition at line 107 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_3_1 |
Definition at line 108 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_3_2 |
Definition at line 109 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_4_0 |
Definition at line 110 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_4_1 |
Definition at line 111 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_4_2 |
Definition at line 112 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_5_1 |
Definition at line 113 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_5_2 |
Definition at line 114 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_High_AutoLevel |
Definition at line 115 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Extended_5_0 |
Definition at line 116 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_Extended_AutoLevel |
Definition at line 117 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_ConstrainedBaseline_AutoLevel |
Definition at line 118 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_H264_ConstrainedHigh_AutoLevel |
Definition at line 119 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_HEVC_Main_AutoLevel |
Definition at line 121 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_HEVC_Main10_AutoLevel |
Definition at line 122 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTProfileLevel_HEVC_Main42210_AutoLevel |
Definition at line 123 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_RealTime |
Definition at line 125 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_TargetQualityForAlpha |
Definition at line 126 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_PrioritizeEncodingSpeedOverQuality |
Definition at line 127 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_ConstantBitRate |
Definition at line 128 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_EncoderID |
Definition at line 129 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_SpatialAdaptiveQPLevel |
Definition at line 130 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder |
Definition at line 132 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder |
Definition at line 133 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTVideoEncoderSpecification_EnableLowLatencyRateControl |
Definition at line 134 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_AllowOpenGOP |
Definition at line 135 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_MaximizePowerEfficiency |
Definition at line 136 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_ReferenceBufferCount |
Definition at line 137 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_MaxAllowedFrameQP |
Definition at line 138 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| CFStringRef kVTCompressionPropertyKey_MinAllowedFrameQP |
Definition at line 139 of file videotoolboxenc.c.
Referenced by loadVTEncSymbols().
| getParameterSetAtIndex CMVideoFormatDescriptionGetHEVCParameterSetAtIndex |
Definition at line 141 of file videotoolboxenc.c.
| struct { ... } compat_keys |
|
static |
Definition at line 153 of file videotoolboxenc.c.
Referenced by vtenc_init().
|
static |
Definition at line 230 of file videotoolboxenc.c.
Referenced by cbs_mpeg2_split_fragment(), commit_bitstream_and_slice_buffer(), copy_param_sets(), copy_replace_length_codes(), decode_chunks(), ff_mjpeg_decode_frame_from_buf(), ff_mjpeg_find_marker(), ff_rtp_send_mpegvideo(), get_params_size(), mpeg_decode_slice(), mpegvideo_extract_headers(), msmpeg4_decode_picture_header(), mxpeg_decode_frame(), slice_decode_thread(), update_input_arguments(), and vtenc_cm_to_avpacket().
|
static |
Definition at line 2860 of file videotoolboxenc.c.
|
static |
Definition at line 2867 of file videotoolboxenc.c.
|
static |
Definition at line 2878 of file videotoolboxenc.c.
|
static |
Definition at line 2933 of file videotoolboxenc.c.
|
static |
Definition at line 2939 of file videotoolboxenc.c.
|
static |
Definition at line 2974 of file videotoolboxenc.c.
|
static |
Definition at line 2981 of file videotoolboxenc.c.
| const FFCodec ff_h264_videotoolbox_encoder |
Definition at line 2988 of file videotoolboxenc.c.
|
static |
Definition at line 3005 of file videotoolboxenc.c.
|
static |
Definition at line 3020 of file videotoolboxenc.c.
| const FFCodec ff_hevc_videotoolbox_encoder |
Definition at line 3027 of file videotoolboxenc.c.
|
static |
Definition at line 3047 of file videotoolboxenc.c.
|
static |
Definition at line 3061 of file videotoolboxenc.c.
| const FFCodec ff_prores_videotoolbox_encoder |
Definition at line 3068 of file videotoolboxenc.c.
1.8.17