Closed Bug 1282711 Opened 8 years ago Closed 8 years ago

Fix InterpolateRow_Any_AVX2 in libyuv

Categories

(Core :: WebRTC, defect, P2)

49 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1284803

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Fix InterpolateRow_Any_AVX2 does not work correctly. It is recognized during looking into Bug 1275441. https://dxr.mozilla.org/mozilla-central/source/media/libyuv/source/row_any.cc#518 The problem is already addressed in master libyuv. https://chromium.googlesource.com/external/libyuv/+/af6f25245e6ca2245e8781bfecc7f215d319da03%5E%21/source/row_any.cc
Blocks: 1275441
Assignee: nobody → sotaro.ikeda.g
It seems better just update InterpolateRow_Any_AVX2.
Component: Graphics → WebRTC
(In reply to Sotaro Ikeda [:sotaro] from comment #0) > > The problem is already addressed in master libyuv. > https://chromium.googlesource.com/external/libyuv/+/ > af6f25245e6ca2245e8781bfecc7f215d319da03%5E%21/source/row_any.cc The following is related bug. https://webrtc-codereview.appspot.com/30759004
Rank: 29
Priority: -- → P2
https://webrtc-codereview.appspot.com/30759004 enables InterpolateRow_Any_AVX2 with the following. > +#define HAS_INTERPOLATEROW_AVX2 InterpolateRow_Any_AVX2 is enabled when LIBYUV_VERSION is 1135, but gecko's LIBYUV_VERSION is 971. InterpolateRow_Any_AVX2 seems to be enabled accidentally during porting to gecko. https://dxr.mozilla.org/mozilla-central/source/media/libyuv/include/libyuv/version.h#14
https://webrtc-codereview.appspot.com/30759004 has the following changes. [1] Enable HAS_INTERPOLATEROW_AVX2 [2] Fix InterpolateRow_Any_AVX2 [3] Update InterpolateRow_AVX2() [1] is already done in gecko. For [2] It seems better to use attachment 8765796 [details] [diff] [review] since original patch could not apply cleanly. [3] does not fix the bug, but it is for improvimg performance. It seems better to take the patch.
Attachment #8765796 - Flags: review?(jmuizelaar)
Attachment #8766730 - Flags: review?(jmuizelaar)
Should we just update libyuv wholesale?
Flags: needinfo?(sotaro.ikeda.g)
Thanks for the advice. I am going to check about it.
Flags: needinfo?(sotaro.ikeda.g)
Attachment #8765796 - Flags: review?(jmuizelaar)
Attachment #8766730 - Flags: review?(jmuizelaar)
(In reply to Jeff Muizelaar [:jrmuizel] from comment #8) > Should we just update libyuv wholesale? I created Bug 1284803 to update libyuv.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
No longer blocks: 1275441
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: