10l, commit that should have been stashed into the merge.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -787,7 +787,7 @@ static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, i
|
||||
method suggested in SMPTE 314M Table 22, and an improved
|
||||
method. The SMPTE method is very conservative; it assigns class
|
||||
3 (i.e. severe quantization) to any block where the largest AC
|
||||
component is greater than 36. Libav's DV encoder tracks AC bit
|
||||
component is greater than 36. FFmpeg's DV encoder tracks AC bit
|
||||
consumption precisely, so there is no need to bias most blocks
|
||||
towards strongly lossy compression. Instead, we assign class 2
|
||||
to most blocks, and use class 3 only when strictly necessary
|
||||
@@ -795,7 +795,7 @@ static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, i
|
||||
|
||||
#if 0 /* SMPTE spec method */
|
||||
static const int classes[] = {12, 24, 36, 0xffff};
|
||||
#else /* improved Libav method */
|
||||
#else /* improved FFmpeg method */
|
||||
static const int classes[] = {-1, -1, 255, 0xffff};
|
||||
#endif
|
||||
int max = classes[0];
|
||||
|
||||
Reference in New Issue
Block a user