changeset 10453:0a97bc8da768 libavcodec

Add a PIX_FMT_HWACCEL flag to the AVPixFmtDescriptor.flags. It is used to mark the pixel format used for hardware acceleration support.
author stefano
date Mon, 26 Oct 2009 19:34:46 +0000
parents c6aa538c0bc3
children 7a0648324174
files pixdesc.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pixdesc.h	Sun Oct 25 03:09:53 2009 +0000
+++ b/pixdesc.h	Mon Oct 26 19:34:46 2009 +0000
@@ -79,6 +79,7 @@
 #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.