[FFmpeg-cvslog] r20389 - in trunk: libavcodec/pixdesc.c libavcodec/pixdesc.h libavutil/pixdesc.c libavutil/pixdesc.h

stefano subversion
Tue Oct 27 21:56:56 CET 2009


Author: stefano
Date: Tue Oct 27 21:56:56 2009
New Revision: 20389

Log:
Move pixdesc.{h,c} from libavcodec to libavutil.

This way pixdescs can be used without to require a dependency on
libavcodec.

Added:
   trunk/libavutil/pixdesc.c   (contents, props changed)
      - copied, changed from r20383, trunk/libavcodec/pixdesc.c
   trunk/libavutil/pixdesc.h   (contents, props changed)
      - copied, changed from r20383, trunk/libavcodec/pixdesc.h
Deleted:
   trunk/libavcodec/pixdesc.c
   trunk/libavcodec/pixdesc.h

Copied and modified: trunk/libavutil/pixdesc.c (from r20383, trunk/libavcodec/pixdesc.c)
==============================================================================
--- trunk/libavcodec/pixdesc.c	Tue Oct 27 18:37:41 2009	(r20383, copy source)
+++ trunk/libavutil/pixdesc.c	Tue Oct 27 21:56:56 2009	(r20389)
@@ -19,7 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "libavutil/pixfmt.h"
+#include "pixfmt.h"
 #include "pixdesc.h"
 
 const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {

Copied and modified: trunk/libavutil/pixdesc.h (from r20383, trunk/libavcodec/pixdesc.h)
==============================================================================
--- trunk/libavcodec/pixdesc.h	Tue Oct 27 18:37:41 2009	(r20383, copy source)
+++ trunk/libavutil/pixdesc.h	Tue Oct 27 21:56:56 2009	(r20389)
@@ -19,12 +19,12 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AVCODEC_PIXDESC_H
-#define AVCODEC_PIXDESC_H
+#ifndef AVUTIL_PIXDESC_H
+#define AVUTIL_PIXDESC_H
 
 #include <inttypes.h>
 
-#include "libavutil/intreadwrite.h"
+#include "intreadwrite.h"
 
 typedef struct AVComponentDescriptor{
     uint16_t plane        :2;            ///< which of the 4 planes contains the component
@@ -204,4 +204,4 @@ static inline void write_line(const uint
  */
 int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc);
 
-#endif /* AVCODEC_PIXDESC_H */
+#endif /* AVUTIL_PIXDESC_H */



More information about the ffmpeg-cvslog mailing list