On Thu, Jul 23, 2015 at 06:59:54PM +0300, Ivan Uskov wrote: > Hello Michael, > > Thursday, July 23, 2015, 6:29:13 PM, you wrote: > > >> + } else { > >> + bs.Data = avpkt->data; > >> + bs.DataLength = avpkt->size; > >> + } > > MN> Does this mean that each packet will be memcpy-ed ? > MN> this would slow things down > Exactly not. Copying uses only for quite rare case when decoder does > not consume several bytes at tail packet tail. Then these bytes copied > into fifo. Next time these bytes usually are totally consumed with new > packet and only reference to packets uses in general decoding. > For several test streams I'm observing that 2-3 bytes copying appear > only at begin of decoding, for first 5-10 frames.
what are these additional bytes? why are they not consumed ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The worst form of inequality is to try to make unequal things equal. -- Aristotle
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel