[SCM] libav/experimental: Add a PIX_FMT_HWACCEL flag to the AVPixFmtDescriptor.flags.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:53:35 UTC 2013


The following commit has been merged in the experimental branch:
commit 6b27353cfdadeea5913c4dbdbc322289a47a7e2c
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Mon Oct 26 19:34:46 2009 +0000

    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

diff --git a/libavcodec/pixdesc.h b/libavcodec/pixdesc.h
index e6d2dcd..d5f2be5 100644
--- a/libavcodec/pixdesc.h
+++ b/libavcodec/pixdesc.h
@@ -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.

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list