search for: mydecoderclass

Displaying 2 results from an estimated 2 matches for "mydecoderclass".

2006 Dec 13
2
Would be nice to conditionally compile out coding modes and code tables...
...e removed the dynamic memory allocation of the encoder and decoder. To do this I had to determine the required size of the encoder and decoder states since i'm working on a fixed memory platform I simply handle the worst case, see the attached statesize.h. Now I can do this sort of thing... MyDecoderClass decoders[5]; .. will means all of my decoder states are contiguous and quick to DMA. It also improves cache consistency when the input buffers are placed in MyDecoderClass. Would be nice for functionality like this to make it into the main line of code. I hope this is useful to someone, Stewart...
2006 Dec 14
1
Would be nice to conditionally compile out coding modes and code tables...
...der. To do this I had to determine the required size of the > > encoder and decoder states since i'm working on a fixed > memory platform I simply > > handle the worst case, see the attached statesize.h. Now > I can do this > > sort of thing... > > > > MyDecoderClass decoders[5]; > > > > .. will means all of my decoder states are contiguous and > quick to DMA. > > It also improves cache consistency when the input buffers > are placed > > in MyDecoderClass. > > There's actually a much simpler way of making everything...