= {
.name = "h264_nvenc",
.wrapper_name = "nvenc",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
av_cold int ff_nvenc_encode_close(AVCodecContext *avctx)
#define AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
#define AV_CODEC_CAP_ENCODER_FLUSH
This encoder can be flushed using avcodec_flush_buffers().
static const AVClass h264_nvenc_class
int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
static const AVCodecDefault defaults[]
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
enum AVPixelFormat ff_nvenc_pix_fmts[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
const AVCodecHWConfigInternal * ff_nvenc_hw_configs[]
int ff_nvenc_send_frame(AVCodecContext *avctx, const AVFrame *frame)
av_cold int ff_nvenc_encode_init(AVCodecContext *avctx)
int ff_nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
av_cold void ff_nvenc_encode_flush(AVCodecContext *avctx)
static enum AVPixelFormat pix_fmts[]