Skip to content

Commit

Permalink
Add support for the default skin tone enchancement table.
Browse files Browse the repository at this point in the history
  • Loading branch information
rofafor committed Sep 28, 2015
1 parent 3806890 commit 02b5a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions video.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ static VideoConfigValues VdpauConfigStde =
{ .active = 0, .min_value = 0.0, .max_value = 1.0, .def_value = 1.0, .step = 1.0, .scale = 1.0, .drv_scale = 1.0 };

static VideoConfigValues VaapiConfigStde =
{ .active = 1, .min_value = 0.0, .max_value = 3.0, .def_value = 0.0, .step = 1.0, .scale = 1.0, .drv_scale = 1.0 };
{ .active = 1, .min_value = 0.0, .max_value = 4.0, .def_value = 0.0, .step = 1.0, .scale = 1.0, .drv_scale = 1.0 };

char VideoIgnoreRepeatPict; ///< disable repeat pict warning

Expand Down Expand Up @@ -3994,7 +3994,7 @@ static VABufferID VaapiSetupParameterBufferProcessing(VaapiDecoder * decoder, VA
if (type == VAProcFilterSkinToneEnhancement && cap_n == 0) { // Intel driver doesn't return caps
cap_n = 1;
caps->range.min_value = 0.0;
caps->range.max_value = 3.0;
caps->range.max_value = 4.0;
caps->range.default_value = 0.0;
caps->range.step = 1.0;
VaapiConfigStde.drv_scale = 3.0;
Expand Down

0 comments on commit 02b5a8b

Please sign in to comment.