bug1480092.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From f00fe25d7eb13ceafbea6a6987d45fdef64cffb3 Mon Sep 17 00:00:00 2001
  2. From: Pale Moon <git-repo@palemoon.org>
  3. Date: Tue, 11 Sep 2018 08:58:16 +0200
  4. Subject: [PATCH] Cherry-pick libvpx upstream
  5. 52add5896661d186dec284ed646a4b33b607d2c7.
  6. ---
  7. media/libvpx/vp8/common/postproc.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/media/libvpx/vp8/common/postproc.c b/media/libvpx/vp8/common/postproc.c
  10. index a4e6ae170..3b05bc63e 100644
  11. --- a/media/libvpx/vp8/common/postproc.c
  12. +++ b/media/libvpx/vp8/common/postproc.c
  13. @@ -325,17 +325,17 @@ void vp8_deblock(VP8_COMMON *cm,
  14. YV12_BUFFER_CONFIG *post,
  15. int q,
  16. int low_var_thresh,
  17. int flag)
  18. {
  19. double level = 6.0e-05 * q * q * q - .0067 * q * q + .306 * q + .0065;
  20. int ppl = (int)(level + .5);
  21. - const MODE_INFO *mode_info_context = cm->show_frame_mi;
  22. + const MODE_INFO *mode_info_context = cm->mi;
  23. int mbr, mbc;
  24. /* The pixel thresholds are adjusted according to if or not the macroblock
  25. * is a skipped block. */
  26. unsigned char *ylimits = cm->pp_limits_buffer;
  27. unsigned char *uvlimits = cm->pp_limits_buffer + 16 * cm->mb_cols;
  28. (void) low_var_thresh;
  29. (void) flag;
  30. --
  31. 2.16.1.windows.4