-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
230 changed files
with
26,038 additions
and
2,520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/***************************************************************************** | ||
* autocomplete: x264cli shell autocomplete | ||
***************************************************************************** | ||
* Copyright (C) 2018-2023 x264 project | ||
* Copyright (C) 2018-2024 x264 project | ||
* | ||
* Authors: Henrik Gramner <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/***************************************************************************** | ||
* asm-offsets.c: check asm offsets for aarch64 | ||
***************************************************************************** | ||
* Copyright (C) 2014-2023 x264 project | ||
* Copyright (C) 2014-2024 x264 project | ||
* | ||
* Authors: Janne Grunau <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/***************************************************************************** | ||
* asm-offsets.h: asm offsets for aarch64 | ||
***************************************************************************** | ||
* Copyright (C) 2014-2023 x264 project | ||
* Copyright (C) 2014-2024 x264 project | ||
* | ||
* Authors: Janne Grunau <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/***************************************************************************** | ||
* asm.S: AArch64 utility macros | ||
***************************************************************************** | ||
* Copyright (C) 2008-2023 x264 project | ||
* Copyright (C) 2008-2024 x264 project | ||
* | ||
* Authors: Mans Rullgard <[email protected]> | ||
* David Conrad <[email protected]> | ||
|
@@ -133,8 +133,8 @@ MACH .const_data | |
|
||
|
||
.macro SUMSUB_AB sum, sub, a, b | ||
add \sum, \a, \b | ||
sub \sub, \a, \b | ||
add \sum, \a, \b | ||
sub \sub, \a, \b | ||
.endm | ||
|
||
.macro unzip t1, t2, s1, s2 | ||
|
@@ -163,35 +163,35 @@ MACH .const_data | |
|
||
|
||
.macro transpose8x8.h r0, r1, r2, r3, r4, r5, r6, r7, r8, r9 | ||
trn1 \r8\().8H, \r0\().8H, \r1\().8H | ||
trn2 \r9\().8H, \r0\().8H, \r1\().8H | ||
trn1 \r1\().8H, \r2\().8H, \r3\().8H | ||
trn2 \r3\().8H, \r2\().8H, \r3\().8H | ||
trn1 \r0\().8H, \r4\().8H, \r5\().8H | ||
trn2 \r5\().8H, \r4\().8H, \r5\().8H | ||
trn1 \r2\().8H, \r6\().8H, \r7\().8H | ||
trn2 \r7\().8H, \r6\().8H, \r7\().8H | ||
|
||
trn1 \r4\().4S, \r0\().4S, \r2\().4S | ||
trn2 \r2\().4S, \r0\().4S, \r2\().4S | ||
trn1 \r6\().4S, \r5\().4S, \r7\().4S | ||
trn2 \r7\().4S, \r5\().4S, \r7\().4S | ||
trn1 \r5\().4S, \r9\().4S, \r3\().4S | ||
trn2 \r9\().4S, \r9\().4S, \r3\().4S | ||
trn1 \r3\().4S, \r8\().4S, \r1\().4S | ||
trn2 \r8\().4S, \r8\().4S, \r1\().4S | ||
|
||
trn1 \r0\().2D, \r3\().2D, \r4\().2D | ||
trn2 \r4\().2D, \r3\().2D, \r4\().2D | ||
|
||
trn1 \r1\().2D, \r5\().2D, \r6\().2D | ||
trn2 \r5\().2D, \r5\().2D, \r6\().2D | ||
|
||
trn2 \r6\().2D, \r8\().2D, \r2\().2D | ||
trn1 \r2\().2D, \r8\().2D, \r2\().2D | ||
|
||
trn1 \r3\().2D, \r9\().2D, \r7\().2D | ||
trn2 \r7\().2D, \r9\().2D, \r7\().2D | ||
trn1 \r8\().8h, \r0\().8h, \r1\().8h | ||
trn2 \r9\().8h, \r0\().8h, \r1\().8h | ||
trn1 \r1\().8h, \r2\().8h, \r3\().8h | ||
trn2 \r3\().8h, \r2\().8h, \r3\().8h | ||
trn1 \r0\().8h, \r4\().8h, \r5\().8h | ||
trn2 \r5\().8h, \r4\().8h, \r5\().8h | ||
trn1 \r2\().8h, \r6\().8h, \r7\().8h | ||
trn2 \r7\().8h, \r6\().8h, \r7\().8h | ||
|
||
trn1 \r4\().4s, \r0\().4s, \r2\().4s | ||
trn2 \r2\().4s, \r0\().4s, \r2\().4s | ||
trn1 \r6\().4s, \r5\().4s, \r7\().4s | ||
trn2 \r7\().4s, \r5\().4s, \r7\().4s | ||
trn1 \r5\().4s, \r9\().4s, \r3\().4s | ||
trn2 \r9\().4s, \r9\().4s, \r3\().4s | ||
trn1 \r3\().4s, \r8\().4s, \r1\().4s | ||
trn2 \r8\().4s, \r8\().4s, \r1\().4s | ||
|
||
trn1 \r0\().2d, \r3\().2d, \r4\().2d | ||
trn2 \r4\().2d, \r3\().2d, \r4\().2d | ||
|
||
trn1 \r1\().2d, \r5\().2d, \r6\().2d | ||
trn2 \r5\().2d, \r5\().2d, \r6\().2d | ||
|
||
trn2 \r6\().2d, \r8\().2d, \r2\().2d | ||
trn1 \r2\().2d, \r8\().2d, \r2\().2d | ||
|
||
trn1 \r3\().2d, \r9\().2d, \r7\().2d | ||
trn2 \r7\().2d, \r9\().2d, \r7\().2d | ||
.endm | ||
|
||
.macro transpose_8x16.b r0, r1, r2, r3, r4, r5, r6, r7, t0, t1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/***************************************************************************** | ||
* bitstream-a.S: aarch64 bitstream functions | ||
***************************************************************************** | ||
* Copyright (C) 2014-2023 x264 project | ||
* Copyright (C) 2014-2024 x264 project | ||
* | ||
* Authors: Janne Grunau <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/***************************************************************************** | ||
* bitstream.h: aarch64 bitstream functions | ||
***************************************************************************** | ||
* Copyright (C) 2017-2023 x264 project | ||
* Copyright (C) 2017-2024 x264 project | ||
* | ||
* Authors: Anton Mitrofanov <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/***************************************************************************** | ||
* cabac-a.S: aarch64 cabac | ||
***************************************************************************** | ||
* Copyright (C) 2014-2023 x264 project | ||
* Copyright (C) 2014-2024 x264 project | ||
* | ||
* Authors: Janne Grunau <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/**************************************************************************** | ||
* dct-a-common.S: aarch64 transform and zigzag | ||
***************************************************************************** | ||
* Copyright (C) 2009-2024 x264 project | ||
* | ||
* Authors: David Conrad <[email protected]> | ||
* Janne Grunau <[email protected]> | ||
* David Chen <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA. | ||
* | ||
* This program is also available under a commercial proprietary license. | ||
* For more information, contact us at [email protected]. | ||
*****************************************************************************/ | ||
|
||
// This file contains the NEON macros that are intended to be used by | ||
// the SVE/SVE2 functions as well | ||
|
||
.macro DCT_1D v0 v1 v2 v3 v4 v5 v6 v7 | ||
SUMSUB_AB \v1, \v6, \v5, \v6 | ||
SUMSUB_AB \v3, \v7, \v4, \v7 | ||
add \v0, \v3, \v1 | ||
add \v4, \v7, \v7 | ||
add \v5, \v6, \v6 | ||
sub \v2, \v3, \v1 | ||
add \v1, \v4, \v6 | ||
sub \v3, \v7, \v5 | ||
.endm |
Oops, something went wrong.