[vlc-devel] undestanding the vlc data structures

Rafaël Carré rafael.carre at gmail.com
Wed Dec 30 14:00:22 CET 2009

On Tue, 29 Dec 2009 19:47:27 +0100
"Vincenzo Giarratana" <vincenzo.giarratana at gmail.com> wrote:

> Hi all, 


> i am trying to undestand the vlc data structures, i am studing the
> input.c source code and I see data is organazid in the
> input_thread_t  struct. It is not easy to me to find what is the
> struct that hold the actual input data stream. As well I'd like to
> find the struct defining the actual data stream that is passed to the
> decoder step.
> May be it is  the block_t struct, am I correct ?


> I am a little bit confused with the huge number of structures and
> fields, please help me to find the final struct (at the leaves)
> defining the raw data of the media beeing processed before decoding
> it.

I think you should start by reading a decoder, look in modules/codec/
for short files, and read input.c side by side to see how codecs are
interconnected with this file.

Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091230/85bd019c/attachment.sig>

More information about the vlc-devel mailing list