Revision 2d2b5a14 libavcodec/dv.c

View differences:

libavcodec/dv.c
787 787
       method suggested in SMPTE 314M Table 22, and an improved
788 788
       method. The SMPTE method is very conservative; it assigns class
789 789
       3 (i.e. severe quantization) to any block where the largest AC
790
       component is greater than 36. Libav's DV encoder tracks AC bit
790
       component is greater than 36. FFmpeg's DV encoder tracks AC bit
791 791
       consumption precisely, so there is no need to bias most blocks
792 792
       towards strongly lossy compression. Instead, we assign class 2
793 793
       to most blocks, and use class 3 only when strictly necessary
......
795 795

  
796 796
#if 0 /* SMPTE spec method */
797 797
    static const int classes[] = {12, 24, 36, 0xffff};
798
#else /* improved Libav method */
798
#else /* improved FFmpeg method */
799 799
    static const int classes[] = {-1, -1, 255, 0xffff};
800 800
#endif
801 801
    int max  = classes[0];

Also available in: Unified diff