History

Implement avfilter_copy_picref_props().

Originally committed as revision 24091 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 16 years ago

Commit 4d508e41 parent 00f72571 file · +15 −2Browse files

Showing the changes to libavfilter/avfilter.h (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.h+15−2
@@ -25,8 +25,8 @@ · 24 unmodified lines
25#include "libavutil/avutil.h"25#include "libavutil/avutil.h"
26 26
27#define LIBAVFILTER_VERSION_MAJOR 127#define LIBAVFILTER_VERSION_MAJOR 1
28#define LIBAVFILTER_VERSION_MINOR 2028#define LIBAVFILTER_VERSION_MINOR 21
29#define LIBAVFILTER_VERSION_MICRO 129#define LIBAVFILTER_VERSION_MICRO 0
30 30
31#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \31#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
32 LIBAVFILTER_VERSION_MINOR, \32 LIBAVFILTER_VERSION_MINOR, \
@@ -120,6 +120,19 @@ typedef struct AVFilterPicRef · 87 unmodified lines
120 int top_field_first;120 int top_field_first;
121} AVFilterPicRef;121} AVFilterPicRef;
122 122
123/**
124 * Copy properties of src to dst, without copying the actual video
125 * data.
126 */
127static inline void avfilter_copy_picref_props(AVFilterPicRef *dst, AVFilterPicRef *src)
128{
129 dst->pts = src->pts;
130 dst->pos = src->pos;
131 dst->pixel_aspect = src->pixel_aspect;
132 dst->interlaced = src->interlaced;
133 dst->top_field_first = src->top_field_first;
134}
135
123/**136/**
124 * Add a new reference to a picture.137 * Add a new reference to a picture.
125 * @param ref an existing reference to the picture138 * @param ref an existing reference to the picture

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t