History

Add another "reuse" permission, to distinguish between the case where a source filter will simply want to re-output the same image multiple times and reuse a buffer to do it, and the case where the source filter will output multiple image by modifying a single buffer and outputting it multiple times.

Commited in SoC by Bobby Bingham on 2007-08-18 02:21:01 Originally committed as revision 12103 to svn://svn.ffmpeg.org/ffmpeg/trunk

Vitor Sessak committed 18 years ago

Commit b3ab2f71 parent 056f0431 file · +2 −1Browse files

Unified · Split

libavfilter/avfilter.h+2−1
@@ -78,7 +78,8 @@ typedef struct AVFilterPicRef · 77 unmodified lines
78#define AV_PERM_READ 0x01 ///< can read from the buffer78#define AV_PERM_READ 0x01 ///< can read from the buffer
79#define AV_PERM_WRITE 0x02 ///< can write to the buffer79#define AV_PERM_WRITE 0x02 ///< can write to the buffer
80#define AV_PERM_PRESERVE 0x04 ///< nobody else can overwrite the buffer80#define AV_PERM_PRESERVE 0x04 ///< nobody else can overwrite the buffer
81#define AV_PERM_REUSE 0x08 ///< can output the buffer multiple times81#define AV_PERM_REUSE 0x08 ///< can output the buffer multiple times, with the same contents each time
82#define AV_PERM_REUSE2 0x10 ///< can output the buffer multiple times, modified each time
82} AVFilterPicRef;83} AVFilterPicRef;
83 84
84/**85/**

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