Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Issue 1286623002: Update padding/alignment constants to match ffmpeg. (Closed)

Created:
5 years, 4 months ago by chcunningham
Modified:
5 years, 2 months ago
Reviewers:
xhwang, DaleCurtis, wtc1, miu
CC:
chromium-reviews, feature-media-reviews_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update padding/alignment constants to match ffmpeg. Our alignment is out of sync with ffmpeg for AVX architectures. This was causing crashes in the ffmepg vp9 decoder (not yet shipped). BUG=481396, 150920

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -16 lines) Patch
M media/base/video_frame.h View 1 chunk +4 lines, -2 lines 2 comments Download
M media/base/video_frame_unittest.cc View 1 chunk +4 lines, -6 lines 1 comment Download
M media/ffmpeg/ffmpeg_common.h View 1 chunk +1 line, -0 lines 1 comment Download
M media/ffmpeg/ffmpeg_common.cc View 2 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
chcunningham
This change is perhaps not finished, though it does eliminate the crashes I was seeing ...
5 years, 4 months ago (2015-08-10 23:44:09 UTC) #2
chcunningham
https://codereview.chromium.org/1286623002/diff/1/media/base/video_frame_unittest.cc File media/base/video_frame_unittest.cc (left): https://codereview.chromium.org/1286623002/diff/1/media/base/video_frame_unittest.cc#oldcode52 media/base/video_frame_unittest.cc:52: yv12_frame->coded_size().width() & (VideoFrame::kFrameSizeAlignment - 1), I don't think this ...
5 years, 4 months ago (2015-08-10 23:45:36 UTC) #3
chcunningham
BTW: pre-req ffmpeg changes here https://chromium-review.googlesource.com/#/c/292482/1
5 years, 4 months ago (2015-08-11 00:16:05 UTC) #4
DaleCurtis
+miu for an insight into my ffmpeg zaniness :) https://codereview.chromium.org/1286623002/diff/1/media/base/video_frame.h File media/base/video_frame.h (right): https://codereview.chromium.org/1286623002/diff/1/media/base/video_frame.h#newcode31 media/base/video_frame.h:31: ...
5 years, 4 months ago (2015-08-11 00:31:30 UTC) #6
DaleCurtis
s/my/more/ :)
5 years, 4 months ago (2015-08-11 00:31:47 UTC) #7
miu
https://codereview.chromium.org/1286623002/diff/1/media/base/video_frame.h File media/base/video_frame.h (right): https://codereview.chromium.org/1286623002/diff/1/media/base/video_frame.h#newcode31 media/base/video_frame.h:31: // These values are chosen according to like values ...
5 years, 4 months ago (2015-08-11 02:53:55 UTC) #8
wtc1
https://codereview.chromium.org/1286623002/diff/1/media/ffmpeg/ffmpeg_common.h File media/ffmpeg/ffmpeg_common.h (right): https://codereview.chromium.org/1286623002/diff/1/media/ffmpeg/ffmpeg_common.h#newcode34 media/ffmpeg/ffmpeg_common.h:34: #include <libavcodec/internal.h> The "internal.h" file name suggests this header ...
5 years, 3 months ago (2015-09-05 01:46:05 UTC) #10
miu
Is this issue still alive? Should we close it, or should I proceed with another ...
5 years, 2 months ago (2015-09-29 18:47:20 UTC) #11
chcunningham
5 years, 2 months ago (2015-09-30 18:22:02 UTC) #12
Lets close it. The refactoring we discussed is better and this fix isn't
un-blocking anyone AFAIK.

Powered by Google App Engine
This is Rietveld 408576698