[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.23,1.24
Atmosfear
atmos4 at mplayerhq.hu
Tue Jul 9 20:53:10 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/German codecs.html,1.39,1.40 documentation.html,1.58,1.59 encoding.html,1.18,1.19 faq.html,1.34,1.35 formats.html,1.13,1.14 mplayer.1,1.13,1.14 sound.html,1.21,1.22 video.html,1.26,1.27
- Next message: [Mplayer-cvslog] CVS: main/etc codecs.conf,1.204,1.205
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv3298/libmpcodecs
Modified Files:
vd_ffmpeg.c
Log Message:
Support for yuv410p as needed by ffsvq1.
Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- vd_ffmpeg.c 7 Jul 2002 16:12:30 -0000 1.23
+++ vd_ffmpeg.c 9 Jul 2002 18:53:07 -0000 1.24
@@ -45,6 +45,9 @@
int vo_inited;
int convert;
int yuy2_support;
+#if LIBAVCODEC_BUILD >= 4615
+ int yvu9_support;
+#endif
} vd_ffmpeg_ctx;
//#ifdef FF_POSTPROCESS
@@ -77,6 +80,9 @@
if( (*((int*)arg)) == IMGFMT_IYUV ) return CONTROL_TRUE;
if( (*((int*)arg)) == IMGFMT_I420 ) return CONTROL_TRUE;
if( (*((int*)arg)) == IMGFMT_YUY2 && ctx->yuy2_support ) return CONTROL_TRUE;
+#if LIBAVCODEC_BUILD >= 4615
+ if( (*((int*)arg)) == IMGFMT_YVU9 && ctx->yvu9_support ) return CONTROL_TRUE;
+#endif
return CONTROL_FALSE;
}
return CONTROL_UNKNOWN;
@@ -251,6 +257,9 @@
sh->disp_h = avctx->height;
ctx->vo_inited=1;
ctx->yuy2_support=(avctx->pix_fmt==PIX_FMT_YUV422P);
+#if LIBAVCODEC_BUILD >= 4615
+ ctx->yvu9_support=(avctx->pix_fmt==PIX_FMT_YUV410P);
+#endif
if (!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,
ctx->yuy2_support ? IMGFMT_YUY2 : IMGFMT_YV12))
return NULL;
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/German codecs.html,1.39,1.40 documentation.html,1.58,1.59 encoding.html,1.18,1.19 faq.html,1.34,1.35 formats.html,1.13,1.14 mplayer.1,1.13,1.14 sound.html,1.21,1.22 video.html,1.26,1.27
- Next message: [Mplayer-cvslog] CVS: main/etc codecs.conf,1.204,1.205
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list