Skip to content

Commit 2b027ec

Browse files
committed
Add ARM64 implementation (NEON) of copyMacroblock
1 parent 7fa1489 commit 2b027ec

File tree

2 files changed

+450
-0
lines changed

2 files changed

+450
-0
lines changed

video_arm64.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//go:build arm64 && !noasm
2+
3+
package mpeg
4+
5+
//go:noescape
6+
func copyMacroblockNEON(motionH, motionV, mbRow, mbCol, lumaWidth, chromaWidth int, s, d *Frame)
7+
8+
func copyMacroblock(motionH, motionV, mbRow, mbCol, lumaWidth, chromaWidth int, s, d *Frame) {
9+
copyMacroblockNEON(motionH, motionV, mbRow, mbCol, lumaWidth, chromaWidth, s, d)
10+
}

0 commit comments

Comments
 (0)