[FFmpeg-devel] [PATCH] CrystalHD decoder support v3

Philip Langdale philipl
Tue Feb 1 17:59:01 CET 2011


 On Tue, 1 Feb 2011 11:51:34 +0100, Benoit Fouet <benoit.fouet at free.fr> 
 wrote:
>
> Even nicer, IMO, would be to initialize when declaring:
>     BC_INPUT_FORMAT format = {
>         .FGTEnable   = FALSE,
>         .Progressive = TRUE,
>         .OptFlags    = 0x80000000 | vdecFrameRate59_94 | 0x40,
>         .width       = avctx->width,
>         .height      = avctx->height,
>     };
>

 I have no personal problem with this but doesn't this make the code
 gcc specific? Doesn't ffmpeg notionally support other compilers?
 Although I've not tested it, this code will, in theory, work on
 OSX and Windows (although Broadcom haven't published official windows
 headers) and anywhere else someone cares to port the driver and library
 to.

 --phil



More information about the ffmpeg-devel mailing list