Replace all remaining occurances of step/depth_minus1 and offset_plus1

This commit is contained in:
Hendrik Leppkes
2015-09-08 17:10:48 +02:00
parent 151aa2ebff
commit 5d8e836d0e
42 changed files with 105 additions and 105 deletions

View File

@@ -239,7 +239,7 @@ static int config_input(AVFilterLink *inlink)
dm->hsub = pix_desc->log2_chroma_w;
dm->vsub = pix_desc->log2_chroma_h;
dm->depth = pix_desc->comp[0].depth_minus1 + 1;
dm->depth = pix_desc->comp[0].depth;
max_value = (1 << dm->depth) - 1;
dm->scthresh = (int64_t)(((int64_t)max_value * w * h * dm->scthresh_flt) / 100);
dm->dupthresh = (int64_t)(((int64_t)max_value * dm->blockx * dm->blocky * dm->dupthresh_flt) / 100);