mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Add a PIX_FMT_HWACCEL flag to the AVPixFmtDescriptor.flags.
It is used to mark the pixel format used for hardware acceleration support. Originally committed as revision 20374 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0600d30ae4
commit
6b27353cfd
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ typedef struct AVPixFmtDescriptor{
|
|||
#define PIX_FMT_BE 1 ///< big-endian
|
||||
#define PIX_FMT_PAL 2 ///< Pixel format has a palette in data[1], values are indexes in this palette.
|
||||
#define PIX_FMT_BITSTREAM 4 ///< All values of a component are bit-wise packed end to end.
|
||||
#define PIX_FMT_HWACCEL 8 ///< Pixel format is an HW accelerated format.
|
||||
|
||||
/**
|
||||
* The array of all the pixel format descriptors.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue