Re: to be effcient or not to be efficient

Ronald Bultje <[email protected]>
Newsgroups gmane.comp.multimedia.media-api
Message-ID <[email protected]>
On Thu, 2004-01-08 at 09:57, Artem Baguinski wrote:
> static vtable_t my_vtable {
>   .get_next_frame = get_next_frame; /* implemented call */
>   .seek_ms = seek_ms;               /* another one */
>   .seek_frame = NULL; /* not implemented call */
>   ...
> }
[..]
> actually codec api should be something like
> decode(encoded_frame,raw_frame);
> encode(raw_frame,ecoded_frame);
[..]
> while the main body will implement streams incorporating input, demuxer
> and decoder while remaining flexible enough for freaks like me wishing
> to alternate the way the stream components interact.

I really don't see how this is any different from what ffmpeg, GStreamer
and mplayer are currently doing?

Let me state it differently: you're recreating existing stuff. Without
adding anything new to it. That's not a good idea.

Ronald

-- 
Ronald Bultje <[email protected]>
Linux Video/Multimedia developer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.