Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
060ba9e5
Commit
060ba9e5
authored
Feb 27, 2017
by
James Darnley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/h264: change RETs into REP_RETs where appropriate
parent
13f4d077
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
h264_idct.asm
libavcodec/x86/h264_idct.asm
+6
-6
No files found.
libavcodec/x86/h264_idct.asm
View file @
060ba9e5
...
@@ -695,7 +695,7 @@ cglobal h264_idct_add8_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride,
...
@@ -695,7 +695,7 @@ cglobal h264_idct_add8_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride,
add
r0mp
,
gprsize
add
r0mp
,
gprsize
%endif
%endif
call
h264_idct_add8_mmx_plane
call
h264_idct_add8_mmx_plane
RET
RET
; TODO: check rep ret after a function call
cglobal
h264_idct_add8_422_8
,
5
,
8
+
npicregs
,
0
,
dst1
,
block_offset
,
block
,
stride
,
nnzc
,
cntr
,
coeff
,
dst2
,
picreg
cglobal
h264_idct_add8_422_8
,
5
,
8
+
npicregs
,
0
,
dst1
,
block_offset
,
block
,
stride
,
nnzc
,
cntr
,
coeff
,
dst2
,
picreg
; dst1, block_offset, block, stride, nnzc, cntr, coeff, dst2, picreg
; dst1, block_offset, block, stride, nnzc, cntr, coeff, dst2, picreg
...
@@ -727,7 +727,7 @@ cglobal h264_idct_add8_422_8, 5, 8 + npicregs, 0, dst1, block_offset, block, str
...
@@ -727,7 +727,7 @@ cglobal h264_idct_add8_422_8, 5, 8 + npicregs, 0, dst1, block_offset, block, str
add
r5
,
4
add
r5
,
4
call
h264_idct_add8_mmx_plane
call
h264_idct_add8_mmx_plane
RET
RET
; TODO: check rep ret after a function call
h264_idct_add8_mmxext_plane
:
h264_idct_add8_mmxext_plane
:
movsxdifnidn
r3
,
r3d
movsxdifnidn
r3
,
r3d
...
@@ -795,7 +795,7 @@ cglobal h264_idct_add8_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride,
...
@@ -795,7 +795,7 @@ cglobal h264_idct_add8_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride,
add
r0mp
,
gprsize
add
r0mp
,
gprsize
%endif
%endif
call
h264_idct_add8_mmxext_plane
call
h264_idct_add8_mmxext_plane
RET
RET
; TODO: check rep ret after a function call
; r0 = uint8_t *dst, r2 = int16_t *block, r3 = int stride, r6=clobbered
; r0 = uint8_t *dst, r2 = int16_t *block, r3 = int stride, r6=clobbered
h264_idct_dc_add8_mmxext
:
h264_idct_dc_add8_mmxext
:
...
@@ -878,7 +878,7 @@ cglobal h264_idct_add16_8, 5, 5 + ARCH_X86_64, 8
...
@@ -878,7 +878,7 @@ cglobal h264_idct_add16_8, 5, 5 + ARCH_X86_64, 8
add16_sse2_cycle
5
,
0x24
add16_sse2_cycle
5
,
0x24
add16_sse2_cycle
6
,
0x1e
add16_sse2_cycle
6
,
0x1e
add16_sse2_cycle
7
,
0x26
add16_sse2_cycle
7
,
0x26
RET
REP_
RET
%macro
add16intra_sse2_cycle
2
%macro
add16intra_sse2_cycle
2
movzx
r0
,
word
[
r4
+
%2
]
movzx
r0
,
word
[
r4
+
%2
]
...
@@ -925,7 +925,7 @@ cglobal h264_idct_add16intra_8, 5, 7 + ARCH_X86_64, 8
...
@@ -925,7 +925,7 @@ cglobal h264_idct_add16intra_8, 5, 7 + ARCH_X86_64, 8
add16intra_sse2_cycle
5
,
0x24
add16intra_sse2_cycle
5
,
0x24
add16intra_sse2_cycle
6
,
0x1e
add16intra_sse2_cycle
6
,
0x1e
add16intra_sse2_cycle
7
,
0x26
add16intra_sse2_cycle
7
,
0x26
RET
REP_
RET
%macro
add8_sse2_cycle
2
%macro
add8_sse2_cycle
2
movzx
r0
,
word
[
r4
+
%2
]
movzx
r0
,
word
[
r4
+
%2
]
...
@@ -980,7 +980,7 @@ cglobal h264_idct_add8_8, 5, 7 + ARCH_X86_64, 8
...
@@ -980,7 +980,7 @@ cglobal h264_idct_add8_8, 5, 7 + ARCH_X86_64, 8
%endif
%endif
add8_sse2_cycle
2
,
0x5c
add8_sse2_cycle
2
,
0x5c
add8_sse2_cycle
3
,
0x64
add8_sse2_cycle
3
,
0x64
RET
REP_
RET
;void ff_h264_luma_dc_dequant_idct_mmx(int16_t *output, int16_t *input, int qmul)
;void ff_h264_luma_dc_dequant_idct_mmx(int16_t *output, int16_t *input, int qmul)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment