Re: Theora integration question
"Engineering" <[email protected]> Mon, 15 Oct 2012 17:43:21 -0500
| Newsgroups | gmane.comp.multimedia.ogg.theora.devel |
|---|---|
| Message-ID | <03f501cdab26$7be7d3f0$73b77bd0$@com> |
> -----Original Message----- > From: Ralph Giles [mailto:[email protected]] > > I have test code into so that the largest (1920x1080) movies share > buffers > > for ref_frame_data and dct_tokens > > > > As long as I remember to update the movie at frame 0 before use, I > don't see > > any issues, but am I inviting disaster? > > The important thing here is that the setup headers match between all > the > videos. Same resolution, quant matricies, huffman tables, etc. > Yes, I am trying to step on as little as possible. It looks to me like dct_tokens is an internal working buffer, so sharing it would not be a problem as long as I'm not trying to process movies in parallel ref_frame_data looks like the YUV buffers, which would be bad to share, but I think I can get away with it as long as when I switch movies, I make sure to decode frame 0 again before use. My reponse to Benjamin will have more details, and thanks for responding! Sam