gstavutils

gstavutils

Functions

Types and Values

Description

Functions

gst_ffmpeg_avpicture_get_size ()

int
gst_ffmpeg_avpicture_get_size (int pix_fmt,
                               int width,
                               int height);

gst_ffmpeg_avpicture_fill ()

int
gst_ffmpeg_avpicture_fill (AVFrame *picture,
                           uint8_t *ptr,
                           enum AVPixelFormat pix_fmt,
                           int width,
                           int height);

gst_ffmpeg_time_ff_to_gst ()

guint64
gst_ffmpeg_time_ff_to_gst (gint64 pts,
                           AVRational base);

gst_ffmpeg_time_gst_to_ff ()

gint64
gst_ffmpeg_time_gst_to_ff (guint64 time,
                           AVRational base);

gst_ffmpeg_init_pix_fmt_info ()

void
gst_ffmpeg_init_pix_fmt_info (void);

gst_ffmpeg_auto_max_threads ()

int
gst_ffmpeg_auto_max_threads (void);

gst_ffmpeg_get_codecid_longname ()

const gchar *
gst_ffmpeg_get_codecid_longname (enum AVCodecID codec_id);

av_smp_format_depth ()

gint
av_smp_format_depth (enum AVSampleFormat smp_fmt);

new_aligned_buffer ()

GstBuffer *
new_aligned_buffer (gint size);

Types and Values

AV_CODEC_CAP_ENCODER_FLUSH

#define AV_CODEC_CAP_ENCODER_FLUSH   (1 << 21)