Commit 83819591 authored by stefano's avatar stefano

Add a PIX_FMT_HWACCEL flag to the AVPixFmtDescriptor.flags.

It is used to mark the pixel format used for hardware acceleration
support.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20374 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2f162f57
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment