Re: to be effcient or not to be efficient
Steve Lhomme <[email protected]>
| Newsgroups | gmane.comp.multimedia.media-api |
|---|---|
| Message-ID | <[email protected]> |
Enrico Weigelt wrote: > * Steve Lhomme <[email protected]> [2004-01-14 22:11:35 +0100]: > > <snip> > >>Actually I had only audio in mind for that one. In this case it can only >>be handled between the reader and the codec. The codec gives samples and >>they are copied into another buffer but backward. >>For video the problem is P and B frames which come in the opposite >>order. It could be tricky but still require the reader to "work" with >>the codec. > > > well, we have to mention that media streams can always be considered > as a sequence of chunks, which each represent a number of frames/samples > (i.g. they're conceptionally the same). audio encodings may also be > non-sample-based (think of mp3). Believe me, after it's decoded MP3 is composed of samples ;)