Commit f6dfb918 authored by Hirokazu Honda's avatar Hirokazu Honda Committed by Chromium LUCI CQ

Roll src/third_party/libgav1/src/ a9449e612..a5ee0e009 (165 commits)

https://chromium.googlesource.com/codecs/libgav1.git/+log/a9449e612bc2..a5ee0e00923c

$ git log a9449e612..a5ee0e009 --date=short --no-merges --format='%ad %ae %s'
2020-12-28 jayashri.murugan x86: Add OverlapBlendVertical SSE4.1 intrinsic for 10-bit
2020-12-22 jayashri.murugan x86: Add OverlapBlendHorizontal SSE4.1 intrinsic for 10-bit
2020-12-21 hamsalekha.s x86: Add CflIntraPredictor SSE4.1 intrinsic for 10 bit
2020-12-16 jayashri.murugan x86: Add AverageBlend10bpp_SSE4_1 for 10-bit
2020-12-16 vishnu.teja x86: Add DistanceWeightedBlend_10bpp_SSE4_1
2020-12-12 jayashri.murugan x86: Add MaskBlend10bpp_SSE4_1 for 10-bit
2020-12-11 cherma.rajan x86: Add WeightMask SSE4.1 intrinsic for 10-bit
2020-12-21 wtc Document Round2() is OK in FilterIntraPredictor_C
2020-12-21 jzern dsp.cc: rm unnecessary weight_mask_neon.h include
2020-12-21 jzern average_blend.cc: fix 10-bit init
(...)
2020-08-24 linfengz dsp: update WienerFilter_SSE4_1()
2020-08-24 slavarnway Reduce size of direction_y[]
2020-08-21 jzern cpu.h: disable AVX2 w/LIBGAV1_ENABLE_SSE4_1=0
2020-08-21 linfengz increase kMaxAlignment
2020-08-21 jzern inverse_transform_neon: make some loops do/while
2020-08-21 jzern inverse_transform_{sse4,neon},cosmetics: s/&(dst|src)\[0\]/\1/
2020-08-20 linfengz dsp: add AVX2 support
2020-08-20 jzern move GetNumRows to reconstruction.cc
2020-08-19 linfengz trivial: update WienerFilter_SSE4_1()
2020-08-19 jzern inverse_transform_neon,cosmetics: use vqrdmulhq_n_s16

Created with:
  roll-dep src/third_party/libgav1/src

Bug: b:175886969
Test: None
Change-Id: Ifb9a8666c9f39a385d494e34d44652bbba7727c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612547Reviewed-by: default avatarJames Zern <jzern@google.com>
Commit-Queue: Hirokazu Honda <hiroh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841301}
parent 84d02556
...@@ -961,7 +961,7 @@ deps = { ...@@ -961,7 +961,7 @@ deps = {
Var('chromium_git') + '/external/github.com/google/emoji-segmenter.git' + '@' + Var('emoji_segmenter_revision'), Var('chromium_git') + '/external/github.com/google/emoji-segmenter.git' + '@' + Var('emoji_segmenter_revision'),
'src/third_party/libgav1/src': 'src/third_party/libgav1/src':
Var('chromium_git') + '/codecs/libgav1.git' + '@' + 'a9449e612bc251b4271bbe1e3a0d12e9809bf74c', Var('chromium_git') + '/codecs/libgav1.git' + '@' + 'a5ee0e00923c355ef3aad2b2829365a9fde84430',
'src/third_party/google_toolbox_for_mac/src': { 'src/third_party/google_toolbox_for_mac/src': {
'url': Var('chromium_git') + '/external/github.com/google/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'), 'url': Var('chromium_git') + '/external/github.com/google/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
......
...@@ -66,6 +66,7 @@ if (enable_libgav1_decoder || use_libgav1_parser) { ...@@ -66,6 +66,7 @@ if (enable_libgav1_decoder || use_libgav1_parser) {
public_configs = [ ":public_libgav1_config" ] public_configs = [ ":public_libgav1_config" ]
sources = gav1_dsp_sources + gav1_dsp_headers_sources sources = gav1_dsp_sources + gav1_dsp_headers_sources
sources += gav1_dsp_avx2_sources + gav1_dsp_avx2_headers_sources
} }
# SSE4 sources are split to their own target as Chrome is currently built # SSE4 sources are split to their own target as Chrome is currently built
...@@ -83,7 +84,7 @@ if (enable_libgav1_decoder || use_libgav1_parser) { ...@@ -83,7 +84,7 @@ if (enable_libgav1_decoder || use_libgav1_parser) {
} }
sources = gav1_dsp_sse4_sources + gav1_dsp_sse4_headers_sources + sources = gav1_dsp_sse4_sources + gav1_dsp_sse4_headers_sources +
gav1_dsp_headers_sources gav1_dsp_headers_sources + gav1_dsp_avx2_headers_sources
} }
static_library("libgav1") { static_library("libgav1") {
......
...@@ -2,9 +2,9 @@ Name: libgav1 ...@@ -2,9 +2,9 @@ Name: libgav1
Short Name: libgav1 Short Name: libgav1
URL: https://chromium.googlesource.com/codecs/libgav1/ URL: https://chromium.googlesource.com/codecs/libgav1/
Version: 0 Version: 0
Date: Saturday August 22 2020 Date: Wednesday January 06 2021
Branch: master Branch: master
Commit: a9449e612bc251b4271bbe1e3a0d12e9809bf74c Commit: a5ee0e00923c355ef3aad2b2829365a9fde84430
License: Apache 2.0 License: Apache 2.0
License File: libgav1/LICENSE License File: libgav1/LICENSE
Security Critical: yes Security Critical: yes
......
...@@ -34,10 +34,17 @@ func getCppFiles(dir string) []string { ...@@ -34,10 +34,17 @@ func getCppFiles(dir string) []string {
for _, file := range files { for _, file := range files {
if file.IsDir() { if file.IsDir() {
paths = append(paths, getCppFiles(filepath.Join(dir, file.Name()))...) paths = append(paths, getCppFiles(filepath.Join(dir, file.Name()))...)
continue
} }
ext := filepath.Ext(file.Name()) ext := filepath.Ext(file.Name())
if ext == ".cc" || ext == ".h" { if ext == ".cc" || ext == ".h" {
paths = append(paths, filepath.Join(dir, file.Name())) isTestFile, err := filepath.Match("*_test.*", file.Name())
if err != nil {
panic(err)
}
if !isTestFile {
paths = append(paths, filepath.Join(dir, file.Name()))
}
} }
} }
return paths return paths
...@@ -102,7 +109,7 @@ func main() { ...@@ -102,7 +109,7 @@ func main() {
for _, d := range topDirs { for _, d := range topDirs {
if strings.HasPrefix(f, d) { if strings.HasPrefix(f, d) {
var bd string var bd string
for _, asm := range []string{"sse4"} { for _, asm := range []string{"sse4", "avx2"} {
pattern := "*_" + asm + "*" pattern := "*_" + asm + "*"
if match, err := filepath.Match(pattern, filepath.Base(f)); err != nil { if match, err := filepath.Match(pattern, filepath.Base(f)); err != nil {
panic(err) panic(err)
......
...@@ -84,6 +84,18 @@ gav1_dsp_sources = [ ...@@ -84,6 +84,18 @@ gav1_dsp_sources = [
"//third_party/libgav1/src/src/dsp/weight_mask.cc", "//third_party/libgav1/src/src/dsp/weight_mask.cc",
] ]
gav1_dsp_avx2_sources = [
"//third_party/libgav1/src/src/dsp/x86/convolve_avx2.cc",
"//third_party/libgav1/src/src/dsp/x86/loop_restoration_10bit_avx2.cc",
"//third_party/libgav1/src/src/dsp/x86/loop_restoration_avx2.cc",
]
gav1_dsp_avx2_headers_sources = [
"//third_party/libgav1/src/src/dsp/x86/common_avx2.h",
"//third_party/libgav1/src/src/dsp/x86/convolve_avx2.h",
"//third_party/libgav1/src/src/dsp/x86/loop_restoration_avx2.h",
]
gav1_dsp_headers_sources = [ gav1_dsp_headers_sources = [
"//third_party/libgav1/src/src/dsp/arm/average_blend_neon.h", "//third_party/libgav1/src/src/dsp/arm/average_blend_neon.h",
"//third_party/libgav1/src/src/dsp/arm/cdef_neon.h", "//third_party/libgav1/src/src/dsp/arm/cdef_neon.h",
...@@ -131,12 +143,14 @@ gav1_dsp_sse4_sources = [ ...@@ -131,12 +143,14 @@ gav1_dsp_sse4_sources = [
"//third_party/libgav1/src/src/dsp/x86/cdef_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/cdef_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/convolve_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/convolve_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/distance_weighted_blend_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/distance_weighted_blend_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/film_grain_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/intra_edge_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/intra_edge_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/intrapred_cfl_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/intrapred_cfl_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/intrapred_smooth_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/intrapred_smooth_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/intrapred_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/intrapred_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/inverse_transform_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/inverse_transform_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/loop_filter_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/loop_filter_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/loop_restoration_10bit_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/loop_restoration_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/loop_restoration_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/mask_blend_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/mask_blend_sse4.cc",
"//third_party/libgav1/src/src/dsp/x86/motion_field_projection_sse4.cc", "//third_party/libgav1/src/src/dsp/x86/motion_field_projection_sse4.cc",
...@@ -153,6 +167,7 @@ gav1_dsp_sse4_headers_sources = [ ...@@ -153,6 +167,7 @@ gav1_dsp_sse4_headers_sources = [
"//third_party/libgav1/src/src/dsp/x86/common_sse4.h", "//third_party/libgav1/src/src/dsp/x86/common_sse4.h",
"//third_party/libgav1/src/src/dsp/x86/convolve_sse4.h", "//third_party/libgav1/src/src/dsp/x86/convolve_sse4.h",
"//third_party/libgav1/src/src/dsp/x86/distance_weighted_blend_sse4.h", "//third_party/libgav1/src/src/dsp/x86/distance_weighted_blend_sse4.h",
"//third_party/libgav1/src/src/dsp/x86/film_grain_sse4.h",
"//third_party/libgav1/src/src/dsp/x86/intra_edge_sse4.h", "//third_party/libgav1/src/src/dsp/x86/intra_edge_sse4.h",
"//third_party/libgav1/src/src/dsp/x86/intrapred_sse4.h", "//third_party/libgav1/src/src/dsp/x86/intrapred_sse4.h",
"//third_party/libgav1/src/src/dsp/x86/inverse_transform_sse4.h", "//third_party/libgav1/src/src/dsp/x86/inverse_transform_sse4.h",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment