Displaying 2 results from an estimated 2 matches for "dct_token_offs".
2009 Oct 07
1
Possible inefficiency in encode.c
...m very new to Theora, having just started working through the code a few
weeks ago.
I am working on a requantization tool to reduce bit rates, hopefully on the
fly, for some video conferencing work.
As I was working through the encoding phase I noticed this line in encode.c:
for(ti=_enc->dct_token_offs[pli][zzi];ti<ndct_tokens;ti++){
It's around line 804, but I am working with 1.1b3 sources so it may have
moved a bit.
Anyway, I am thinking that this line might be an adequate substitute:
for(ti=0;ti<ndct_tokens;ti++){
Because the tokens are now stored in separate per plane array...
2009 Oct 13
3
Proposal for replacing asm code with intrinsics
...m very new to Theora, having just started working through the code a few
weeks ago.
I am working on a requantization tool to reduce bit rates, hopefully on the
fly, for some video conferencing work.
As I was working through the encoding phase I noticed this line in encode.c:
for(ti=_enc->dct_token_offs[pli][zzi];ti<ndct_tokens;ti++){
It's around line 804, but I am working with 1.1b3 sources so it may have
moved a bit.
Anyway, I am thinking that this line might be an adequate substitute:
for(ti=0;ti<ndct_tokens;ti++){
Because the tokens are now stored in separate per plane array...