[MPlayer-dev-eng] New FFmpeg colour spaces

compn tempn at twmi.rr.com
Tue Jul 10 23:15:51 CEST 2012


On Tue, 10 Jul 2012 21:58:28 +0200 (CEST), Carl Eugen Hoyos wrote:
>
>Hi!
>
>Attached patch allows MPlayer to support the new FFmpeg pix_fmts.

wow its huge! thanks for doing this.
do we have samples to test different vo ?


>Index: libmpcodecs/img_format.h
>===================================================================
>--- libmpcodecs/img_format.h	(Revision 35014)
>+++ libmpcodecs/img_format.h	(Arbeitskopie)
>@@ -52,6 +52,10 @@
> #define IMGFMT_BGR32 (IMGFMT_BGR|32)
> 
> #define IMGFMT_GBR24P (('G'<<24)|('B'<<16)|('R'<<8)|24)
>+#define IMGFMT_GBR12PLE (('G'<<24)|('B'<<16)|('R'<<8)|36)
>+#define IMGFMT_GBR12PBE (('G'<<24)|('B'<<16)|('R'<<8)|36|128)
>+#define IMGFMT_GBR14PLE (('G'<<24)|('B'<<16)|('R'<<8)|42)
>+#define IMGFMT_GBR14PBE (('G'<<24)|('B'<<16)|('R'<<8)|42|128)

why does GBR24P not have LE and BE formats?



bonus points if someone can tell me why we have 6 different files for
the same defines. can they be combined somehow ? or is it not worth the
trouble?

-compn


More information about the MPlayer-dev-eng mailing list