|
Blender V5.3
|
#include <libavcodec/avcodec.h>#include <libavformat/avformat.h>#include <libavutil/cpu.h>#include <libavutil/display.h>#include <libswscale/swscale.h>Go to the source code of this file.
Macros | |
| #define | FFMPEG_INLINE static inline |
| #define | FFMPEG_USE_OLD_CHANNEL_VARS |
| #define | FFMPEG_SWSCALE_THREADING |
| #define | FFMPEG_USE_DURATION_WORKAROUND 1 |
Functions | |
| FFMPEG_INLINE void | my_guess_pkt_duration (AVFormatContext *s, AVStream *st, AVPacket *pkt) |
| FFMPEG_INLINE int64_t | timestamp_from_pts_or_dts (int64_t pts, int64_t dts) |
| FFMPEG_INLINE int64_t | av_get_pts_from_frame (AVFrame *picture) |
| FFMPEG_INLINE int64_t | av_get_frame_duration_in_pts_units (const AVFrame *picture) |
| FFMPEG_INLINE size_t | ffmpeg_get_buffer_alignment () |
| FFMPEG_INLINE void | ffmpeg_copy_display_matrix (const AVStream *src, AVStream *dst) |
| FFMPEG_INLINE int | ffmpeg_get_video_rotation (const AVStream *stream) |
| FFMPEG_INLINE enum AVPixelFormat * | ffmpeg_get_pix_fmts (struct AVCodecContext *context, const AVCodec *codec) |
| FFMPEG_INLINE enum AVSampleFormat * | ffmpeg_get_sample_fmts (struct AVCodecContext *context, const AVCodec *codec) |
| FFMPEG_INLINE const int * | ffmpeg_get_sample_rates (struct AVCodecContext *context, const AVCodec *codec) |
Compatibility macros to make every FFMPEG installation appear like the most current installation (wrapping some functionality sometimes) it also includes all FFMPEG header files at once, no need to do it separately.
Definition in file ffmpeg_compat.h.
| #define FFMPEG_INLINE static inline |
Definition at line 40 of file ffmpeg_compat.h.
Referenced by ffmpeg_copy_display_matrix(), ffmpeg_get_buffer_alignment(), ffmpeg_get_pix_fmts(), ffmpeg_get_sample_fmts(), ffmpeg_get_sample_rates(), and ffmpeg_get_video_rotation().
| #define FFMPEG_SWSCALE_THREADING |
Definition at line 60 of file ffmpeg_compat.h.
| #define FFMPEG_USE_DURATION_WORKAROUND 1 |
Definition at line 76 of file ffmpeg_compat.h.
| #define FFMPEG_USE_OLD_CHANNEL_VARS |
Definition at line 55 of file ffmpeg_compat.h.
| FFMPEG_INLINE int64_t av_get_frame_duration_in_pts_units | ( | const AVFrame * | picture | ) |
Definition at line 143 of file ffmpeg_compat.h.
References av_get_frame_duration_in_pts_units().
Referenced by av_get_frame_duration_in_pts_units().
| FFMPEG_INLINE int64_t av_get_pts_from_frame | ( | AVFrame * | picture | ) |
Definition at line 136 of file ffmpeg_compat.h.
References av_get_pts_from_frame(), and timestamp_from_pts_or_dts().
Referenced by av_get_pts_from_frame().
| FFMPEG_INLINE void ffmpeg_copy_display_matrix | ( | const AVStream * | src, |
| AVStream * | dst ) |
Definition at line 171 of file ffmpeg_compat.h.
References ffmpeg_copy_display_matrix(), and FFMPEG_INLINE.
Referenced by ffmpeg_copy_display_matrix().
| FFMPEG_INLINE size_t ffmpeg_get_buffer_alignment | ( | ) |
Definition at line 152 of file ffmpeg_compat.h.
References ffmpeg_get_buffer_alignment(), and FFMPEG_INLINE.
Referenced by ffmpeg_get_buffer_alignment().
| FFMPEG_INLINE enum AVPixelFormat * ffmpeg_get_pix_fmts | ( | struct AVCodecContext * | context, |
| const AVCodec * | codec ) |
Definition at line 210 of file ffmpeg_compat.h.
References ffmpeg_get_pix_fmts(), and FFMPEG_INLINE.
Referenced by ffmpeg_get_pix_fmts().
| FFMPEG_INLINE enum AVSampleFormat * ffmpeg_get_sample_fmts | ( | struct AVCodecContext * | context, |
| const AVCodec * | codec ) |
Definition at line 219 of file ffmpeg_compat.h.
References ffmpeg_get_sample_fmts(), and FFMPEG_INLINE.
Referenced by ffmpeg_get_sample_fmts().
| FFMPEG_INLINE const int * ffmpeg_get_sample_rates | ( | struct AVCodecContext * | context, |
| const AVCodec * | codec ) |
Definition at line 228 of file ffmpeg_compat.h.
References ffmpeg_get_sample_rates(), and FFMPEG_INLINE.
Referenced by ffmpeg_get_sample_rates().
| FFMPEG_INLINE int ffmpeg_get_video_rotation | ( | const AVStream * | stream | ) |
Definition at line 189 of file ffmpeg_compat.h.
References ffmpeg_get_video_rotation(), and FFMPEG_INLINE.
Referenced by ffmpeg_get_video_rotation().
| FFMPEG_INLINE void my_guess_pkt_duration | ( | AVFormatContext * | s, |
| AVStream * | st, | ||
| AVPacket * | pkt ) |
Definition at line 85 of file ffmpeg_compat.h.
References my_guess_pkt_duration(), and PRId64.
Referenced by my_guess_pkt_duration().
| FFMPEG_INLINE int64_t timestamp_from_pts_or_dts | ( | int64_t | pts, |
| int64_t | dts ) |
Definition at line 124 of file ffmpeg_compat.h.
References timestamp_from_pts_or_dts().
Referenced by av_get_pts_from_frame(), and timestamp_from_pts_or_dts().