Skip to content

Commit

Permalink
Bug 1759324 - update libvpx patches r=bryce
Browse files Browse the repository at this point in the history
Adjust for minor offsets since v1.8.2

Differential Revision: https://phabricator.services.mozilla.com/D140926
  • Loading branch information
johannkoenig committed Apr 11, 2022
1 parent 1a131ba commit ad9f894
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3,750 deletions.
2 changes: 1 addition & 1 deletion media/libvpx/input_frame_validation.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MozReview-Commit-ID: BxDCnJe0mzs
diff --git a/media/libvpx/libvpx/vp8/vp8_cx_iface.c b/media/libvpx/libvpx/vp8/vp8_cx_iface.c
--- a/media/libvpx/libvpx/vp8/vp8_cx_iface.c
+++ b/media/libvpx/libvpx/vp8/vp8_cx_iface.c
@@ -855,20 +855,29 @@ static vpx_codec_err_t vp8e_encode(vpx_codec_alg_priv_t *ctx,
@@ -921,20 +921,29 @@ static vpx_codec_err_t vp8e_encode(vpx_c
dst_time_stamp =
pts_val * ctx->timestamp_ratio.num / ctx->timestamp_ratio.den;
dst_end_time_stamp = (pts_val + (int64_t)duration) *
Expand Down
4 changes: 2 additions & 2 deletions media/libvpx/input_frame_validation_vp9.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Bug 1315288: Add input checks for VP9 r=rillian
diff --git a/media/libvpx/libvpx/vp9/vp9_cx_iface.c b/media/libvpx/libvpx/vp9/vp9_cx_iface.c
--- a/media/libvpx/libvpx/vp9/vp9_cx_iface.c
+++ b/media/libvpx/libvpx/vp9/vp9_cx_iface.c
@@ -1129,21 +1129,30 @@ static vpx_codec_err_t encoder_encode(vpx_codec_alg_priv_t *ctx,
unsigned char *cx_data;
@@ -1353,21 +1353,30 @@ static vpx_codec_err_t encoder_encode(vp
cpi->svc.time_stamp_superframe = dst_time_stamp;

// Set up internal flags
if (ctx->base.init_flags & VPX_CODEC_USE_PSNR) cpi->b_calculate_psnr = 1;
Expand Down
Loading

0 comments on commit ad9f894

Please sign in to comment.