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

Issue 2291533004: YuvConstants declare alignment for externs as well as declarations (Closed)

Created:
4 years, 3 months ago by fbarchard1
Modified:
4 years, 3 months ago
Reviewers:
skal
Target Ref:
refs/heads/master
Project:
libyuv
Visibility:
Public.

Description

YuvConstants declare alignment for externs as well as declarations On visual c 2013 and earlier a warning is generated if externs are not declared with the same alignment as the declaration, when using /ltcg BUG=libyuv:633 TEST=standalong test built with cl /Bv /GL /Ox /nologo a.cc b.cc /link /ltcg R=skal@google.com Committed: https://chromium.googlesource.com/libyuv/libyuv/+/de944ed8c74909ea6fbd743a22efe1e55e851b83

Patch Set 1 #

Total comments: 2

Patch Set 2 : bump version and add todo #

Patch Set 3 : use SIMD_ALIGNED for all aligned vars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -22 lines) Patch
M README.chromium View 1 1 chunk +1 line, -1 line 0 comments Download
M include/libyuv/row.h View 1 2 4 chunks +14 lines, -9 lines 0 comments Download
M include/libyuv/version.h View 1 1 chunk +1 line, -1 line 0 comments Download
M source/row_common.cc View 1 2 11 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
fbarchard1
4 years, 3 months ago (2016-08-30 00:40:31 UTC) #1
fbarchard1
chrome builds only support vs2015 so tested this externally a standalone test: a.h extern const ...
4 years, 3 months ago (2016-08-30 00:42:28 UTC) #2
skal
https://codereview.chromium.org/2291533004/diff/1/include/libyuv/row.h File include/libyuv/row.h (right): https://codereview.chromium.org/2291533004/diff/1/include/libyuv/row.h#newcode465 include/libyuv/row.h:465: extern const struct YuvConstants SIMD_ALIGNED(kYuvI601Constants); // BT.601 why is ...
4 years, 3 months ago (2016-08-30 05:03:14 UTC) #3
fbarchard1
On 2016/08/30 05:03:14, skal wrote: > https://codereview.chromium.org/2291533004/diff/1/include/libyuv/row.h > File include/libyuv/row.h (right): > > https://codereview.chromium.org/2291533004/diff/1/include/libyuv/row.h#newcode465 > ...
4 years, 3 months ago (2016-08-30 17:41:23 UTC) #4
fbarchard1
row.h defines SIMD_ALIGNED to 32 byte alignment for compilers supporting AVX2. Else 16. https://codereview.chromium.org/2291533004/diff/1/include/libyuv/row.h File ...
4 years, 3 months ago (2016-08-30 17:52:59 UTC) #5
skal
LGTM great, simplified!
4 years, 3 months ago (2016-08-30 18:05:55 UTC) #6
fbarchard1
4 years, 3 months ago (2016-08-30 18:06:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
de944ed8c74909ea6fbd743a22efe1e55e851b83 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698