[Ffmpeg-devel] [PATCH] DTS decoder

Kostya kostya.shishkov
Fri Feb 23 17:33:08 CET 2007


New revision.
Notes:
* INIT_VLC_BITALLOC:
  I understand this may be not the best solution but let's look
  on these tables structure:
    1 table with 3 elements
    sets of 3 tables with 5,7,9 and 13 elements per table in each set
    sets of 7 tables with 17,25,33,65,129 elements per table in each set
  so it would be a waste of space to put them in one 3-dimensional array
  and another solution is to give each 1-d array its own name and
  create another structure to reference them all - that's quite messy too
* FFMIN usage - that were the cases
   a = get_bits(gb, N);
   if(a > M) a = M;
  it definitely not possible to do one liner (FFMIN is a macro)
  and I'm not sure that this is prettier or has any advantages 
   a = get_bits(gb, N);
   a = FFMIN(a, M);
* QMF filter - I condensed it to looped version which is easier to review
 and should be dsputilized anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dca.patch.gz
Type: application/x-gzip
Size: 11615 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070223/6f343794/attachment.bin>



More information about the ffmpeg-devel mailing list