diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-28 13:39:44 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-28 13:39:44 +0400 |
commit | e5c70b9952f042468b22b1be5e365864af73a2bd (patch) | |
tree | e0d57bb9ab917e388fc1c9d8f5c58ce2f7003e99 /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/imgconvert.c | |
parent | aa39873281217e6ed92899bc3f2ade5146e5ae38 (diff) |
updated ffmpeg
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1818 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/imgconvert.c')
-rw-r--r-- | src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/imgconvert.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/imgconvert.c b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/imgconvert.c index 55891b45f..77bc77a5c 100644 --- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/imgconvert.c +++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/imgconvert.c @@ -20,7 +20,7 @@ */
/**
- * @file libavcodec/imgconvert.c
+ * @file
* misc image conversion routines
*/
@@ -704,6 +704,11 @@ const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt) return av_pix_fmt_descriptors[pix_fmt].name;
}
+int ff_is_hwaccel_pix_fmt(enum PixelFormat pix_fmt)
+{
+ return av_pix_fmt_descriptors[pix_fmt].flags & PIX_FMT_HWACCEL;
+}
+
int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt){
int i;
|