|
Blender
V2.93
|
#include <libavformat/avformat.h>Go to the source code of this file.
Macros | |
| #define | FFMPEG_INLINE static inline |
| #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) |
Deinterlace code block | |
NOTE: The code in this block are from FFmpeg 2.6.4, which is licensed by LGPL. | |
| #define | MAX_NEG_CROP 1024 |
| #define | times4(x) x, x, x, x |
| #define | times256(x) times4(times4(times4(times4(times4(x))))) |
| static const uint8_t | ff_compat_crop_tab [256+2 *MAX_NEG_CROP] |
| FFMPEG_INLINE void | deinterlace_line (uint8_t *dst, const uint8_t *lum_m4, const uint8_t *lum_m3, const uint8_t *lum_m2, const uint8_t *lum_m1, const uint8_t *lum, int size) |
| FFMPEG_INLINE void | deinterlace_line_inplace (uint8_t *lum_m4, uint8_t *lum_m3, uint8_t *lum_m2, uint8_t *lum_m1, uint8_t *lum, int size) |
| FFMPEG_INLINE void | deinterlace_bottom_field (uint8_t *dst, int dst_wrap, const uint8_t *src1, int src_wrap, int width, int height) |
| FFMPEG_INLINE int | deinterlace_bottom_field_inplace (uint8_t *src1, int src_wrap, int width, int height) |
| FFMPEG_INLINE int | av_image_deinterlace (AVFrame *dst, const AVFrame *src, enum AVPixelFormat pix_fmt, int width, int height) |
| #define FFMPEG_INLINE static inline |
Definition at line 43 of file ffmpeg_compat.h.
| #define FFMPEG_USE_DURATION_WORKAROUND 1 |
Definition at line 48 of file ffmpeg_compat.h.
| #define MAX_NEG_CROP 1024 |
Definition at line 119 of file ffmpeg_compat.h.
Definition at line 122 of file ffmpeg_compat.h.
| FFMPEG_INLINE int64_t av_get_pts_from_frame | ( | AVFrame * | picture | ) |
Definition at line 108 of file ffmpeg_compat.h.
References timestamp_from_pts_or_dts().
| FFMPEG_INLINE int av_image_deinterlace | ( | AVFrame * | dst, |
| const AVFrame * | src, | ||
| enum AVPixelFormat | pix_fmt, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 264 of file ffmpeg_compat.h.
References deinterlace_bottom_field(), deinterlace_bottom_field_inplace(), height, ret, and width.
| FFMPEG_INLINE void deinterlace_bottom_field | ( | uint8_t * | dst, |
| int | dst_wrap, | ||
| const uint8_t * | src1, | ||
| int | src_wrap, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 207 of file ffmpeg_compat.h.
References deinterlace_line(), height, width, and y.
Referenced by av_image_deinterlace().
| FFMPEG_INLINE int deinterlace_bottom_field_inplace | ( | uint8_t * | src1, |
| int | src_wrap, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 236 of file ffmpeg_compat.h.
References deinterlace_line_inplace(), height, width, and y.
Referenced by av_image_deinterlace().
| FFMPEG_INLINE void deinterlace_line | ( | uint8_t * | dst, |
| const uint8_t * | lum_m4, | ||
| const uint8_t * | lum_m3, | ||
| const uint8_t * | lum_m2, | ||
| const uint8_t * | lum_m1, | ||
| const uint8_t * | lum, | ||
| int | size | ||
| ) |
Definition at line 153 of file ffmpeg_compat.h.
References ff_compat_crop_tab, MAX_NEG_CROP, size(), and sum().
Referenced by deinterlace_bottom_field().
| FFMPEG_INLINE void deinterlace_line_inplace | ( | uint8_t * | lum_m4, |
| uint8_t * | lum_m3, | ||
| uint8_t * | lum_m2, | ||
| uint8_t * | lum_m1, | ||
| uint8_t * | lum, | ||
| int | size | ||
| ) |
Definition at line 181 of file ffmpeg_compat.h.
References ff_compat_crop_tab, MAX_NEG_CROP, size(), and sum().
Referenced by deinterlace_bottom_field_inplace().
| FFMPEG_INLINE void my_guess_pkt_duration | ( | AVFormatContext * | s, |
| AVStream * | st, | ||
| AVPacket * | pkt | ||
| ) |
Definition at line 57 of file ffmpeg_compat.h.
References PRId64.
| FFMPEG_INLINE int64_t timestamp_from_pts_or_dts | ( | int64_t | pts, |
| int64_t | dts | ||
| ) |
Definition at line 96 of file ffmpeg_compat.h.
Referenced by av_get_pts_from_frame().
|
static |
Definition at line 124 of file ffmpeg_compat.h.
Referenced by deinterlace_line(), and deinterlace_line_inplace().