[FFmpeg-cvslog] r20374 - trunk/libavcodec/pixdesc.h

stefano subversion
Mon Oct 26 20:34:46 CET 2009


Author: stefano
Date: Mon Oct 26 20:34:46 2009
New Revision: 20374

Log:
Add a PIX_FMT_HWACCEL flag to the AVPixFmtDescriptor.flags.

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

Modified:
   trunk/libavcodec/pixdesc.h

Modified: trunk/libavcodec/pixdesc.h
==============================================================================
--- trunk/libavcodec/pixdesc.h	Mon Oct 26 11:18:35 2009	(r20373)
+++ trunk/libavcodec/pixdesc.h	Mon Oct 26 20:34:46 2009	(r20374)
@@ -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.



More information about the ffmpeg-cvslog mailing list