[FFmpeg-devel] [PATCH] Add support for private PES streams in mpegts and support for application decoding the stream
Michael Niedermayer
michaelni
Sat May 30 22:11:11 CEST 2009
On Sat, May 30, 2009 at 10:42:06PM +0300, Sebastian Cabot wrote:
[...]
> @@ -2507,6 +2509,34 @@
> * - decoding: Set by libavcodec
> */
> enum AVChromaLocation chroma_sample_location;
> +
> + /**
> + * This defines init function to be called by the codec proxy.
> + * - encoding: Set by user
> + * - decoding: Set by user
> + */
> + int (*user_codec_init)(struct AVCodecContext *);
> +
> + /**
> + * This defines encodeing function to be called by the codec proxy.
> + * - encoding: Set by user
> + * - decoding: unused
> + */
> + int (*user_codec_encode)(struct AVCodecContext *, uint8_t *buf, int buf_size, void *data);
> +
> + /**
> + * This defines close function to be called by the codec proxy.
> + * - encoding: Set by user
> + * - decoding: Set by user
> + */
> + int (*user_codec_close)(struct AVCodecContext *);
> +
> + /**
> + * This defines decoding function to be called by the codec proxy.
> + * - encoding: unused
> + * - decoding: Set by user
> + */
> + int (*user_codec_decode)(struct AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt);
> } AVCodecContext;
>
> /**
iam not sure what this is good for but i very much doubt it is appropriate
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090530/b5b28436/attachment.pgp>
More information about the ffmpeg-devel
mailing list