[FFmpeg-devel] [PATCH] Demuxer for Leitch/Harris' VR native stream format (LXF)

Michael Niedermayer michaelni
Tue Sep 28 19:55:47 CEST 2010


On Tue, Sep 28, 2010 at 02:59:13PM +0200, Tomas H?rdin wrote:
[...]
> +#define LXF_PACKET_HEADER_SIZE  60
> +#define LXF_HEADER_DATA_SIZE    120
> +#define LXF_IDENT               "LEITCH\0"
> +#define LXF_IDENT_LENGTH        8
> +#define LXF_SAMPLERATE          48000
> +#define LXF_MAX_AUDIO_PACKET    (8008*15*4)     //15-channel 32-bit NTSC audio frame
> +
> +static const AVCodecTag lxf_tags[] = {
> +    { CODEC_ID_MJPEG,       0 },
> +    { CODEC_ID_MPEG1VIDEO,  1 },
> +    { CODEC_ID_MPEG2VIDEO,  2 },    //MpMl, 4:2:0
> +    { CODEC_ID_MPEG2VIDEO,  3 },    //MpPl, 4:2:2
> +    { CODEC_ID_DVVIDEO,     4 },    //DV25
> +    { CODEC_ID_DVVIDEO,     5 },    //DVCPRO
> +    { CODEC_ID_DVVIDEO,     6 },    //DVCPRO50
> +    { CODEC_ID_RAWVIDEO,    7 },    //PIX_FMT_ARGB, where alpha is used for chroma keying
> +    { CODEC_ID_RAWVIDEO,    8 },    //16-bit chroma key
> +    { CODEC_ID_MPEG2VIDEO,  9 },    //4:2:2 CBP ("Constrained Bytes per Gop")
> +    { CODEC_ID_NONE,        0 },
> +};
> +
> +typedef struct {
> +    int channels;                       //number of audio channels. 0 -> no audio
> +    uint8_t temp[LXF_MAX_AUDIO_PACKET]; //temp buffer for de-planarizing the audio data
> +    int frame_number;
> +} LXFDemuxContext;

the comments dont look doxygen compatible


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100928/751b380c/attachment.pgp>



More information about the ffmpeg-devel mailing list