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
802727b5
Commit
802727b5
authored
Aug 24, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp8: Update some assembly comments left unchanged in
bd66f073
parent
87c6c786
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
21 deletions
+21
-21
vp8dsp_armv6.S
libavcodec/arm/vp8dsp_armv6.S
+12
-12
vp8dsp.asm
libavcodec/x86/vp8dsp.asm
+6
-6
vp8dsp_loopfilter.asm
libavcodec/x86/vp8dsp_loopfilter.asm
+3
-3
No files found.
libavcodec/arm/vp8dsp_armv6.S
View file @
802727b5
...
@@ -192,7 +192,7 @@ function ff_vp8_luma_dc_wht_dc_armv6, export=1
...
@@ -192,7 +192,7 @@ function ff_vp8_luma_dc_wht_dc_armv6, export=1
bx lr
bx lr
endfunc
endfunc
@ void vp8_idct_add(uint8_t *dst, int16_t block[16],
in
t stride)
@ void vp8_idct_add(uint8_t *dst, int16_t block[16],
ptrdiff_
t stride)
function ff_vp8_idct_add_armv6, export=1
function ff_vp8_idct_add_armv6, export=1
push {r4-r12, lr}
push {r4-r12, lr}
sub sp, sp, #32
sub sp, sp, #32
...
@@ -314,7 +314,7 @@ function ff_vp8_idct_add_armv6, export=1
...
@@ -314,7 +314,7 @@ function ff_vp8_idct_add_armv6, export=1
pop {r4-r12, pc}
pop {r4-r12, pc}
endfunc
endfunc
@ void vp8_idct_dc_add(uint8_t *dst, int16_t block[16],
in
t stride)
@ void vp8_idct_dc_add(uint8_t *dst, int16_t block[16],
ptrdiff_
t stride)
function ff_vp8_idct_dc_add_armv6, export=1
function ff_vp8_idct_dc_add_armv6, export=1
push {r4-r6, lr}
push {r4-r6, lr}
add r6, r0, r2, lsl #1
add r6, r0, r2, lsl #1
...
@@ -355,7 +355,7 @@ function ff_vp8_idct_dc_add_armv6, export=1
...
@@ -355,7 +355,7 @@ function ff_vp8_idct_dc_add_armv6, export=1
pop {r4-r6, pc}
pop {r4-r6, pc}
endfunc
endfunc
@ void vp8_idct_dc_add4uv(uint8_t *dst, int16_t block[4][16],
in
t stride)
@ void vp8_idct_dc_add4uv(uint8_t *dst, int16_t block[4][16],
ptrdiff_
t stride)
function ff_vp8_idct_dc_add4uv_armv6, export=1
function ff_vp8_idct_dc_add4uv_armv6, export=1
push {r4, lr}
push {r4, lr}
...
@@ -371,7 +371,7 @@ function ff_vp8_idct_dc_add4uv_armv6, export=1
...
@@ -371,7 +371,7 @@ function ff_vp8_idct_dc_add4uv_armv6, export=1
pop {r4, pc}
pop {r4, pc}
endfunc
endfunc
@ void vp8_idct_dc_add4y(uint8_t *dst, int16_t block[4][16],
in
t stride)
@ void vp8_idct_dc_add4y(uint8_t *dst, int16_t block[4][16],
ptrdiff_
t stride)
function ff_vp8_idct_dc_add4y_armv6, export=1
function ff_vp8_idct_dc_add4y_armv6, export=1
push {r4, lr}
push {r4, lr}
...
@@ -455,7 +455,7 @@ endfunc
...
@@ -455,7 +455,7 @@ endfunc
eor r5, r5, r2 @ *oq0 = u ^ 0x80
eor r5, r5, r2 @ *oq0 = u ^ 0x80
.endm
.endm
@ void vp8_v_loop_filter16_simple(uint8_t *dst,
in
t stride, int flim)
@ void vp8_v_loop_filter16_simple(uint8_t *dst,
ptrdiff_
t stride, int flim)
function ff_vp8_v_loop_filter16_simple_armv6, export=1
function ff_vp8_v_loop_filter16_simple_armv6, export=1
push {r4-r11, lr}
push {r4-r11, lr}
...
@@ -866,7 +866,7 @@ function ff_vp8_v_loop_filter8uv_armv6, export=1
...
@@ -866,7 +866,7 @@ function ff_vp8_v_loop_filter8uv_armv6, export=1
b vp8_v_loop_filter_armv6
b vp8_v_loop_filter_armv6
endfunc
endfunc
@ void vp8_h_loop_filter16_simple(uint8_t *dst,
in
t stride, int flim)
@ void vp8_h_loop_filter16_simple(uint8_t *dst,
ptrdiff_
t stride, int flim)
function ff_vp8_h_loop_filter16_simple_armv6, export=1
function ff_vp8_h_loop_filter16_simple_armv6, export=1
push {r4-r11, lr}
push {r4-r11, lr}
orr r12, r2, r2, lsl #16
orr r12, r2, r2, lsl #16
...
@@ -1113,8 +1113,8 @@ endfunc
...
@@ -1113,8 +1113,8 @@ endfunc
@ MC
@ MC
@ void put_vp8_pixels16(uint8_t *dst,
in
t dststride, uint8_t *src,
@ void put_vp8_pixels16(uint8_t *dst,
ptrdiff_
t dststride, uint8_t *src,
@
in
t srcstride, int h, int mx, int my)
@
ptrdiff_
t srcstride, int h, int mx, int my)
function ff_put_vp8_pixels16_armv6, export=1
function ff_put_vp8_pixels16_armv6, export=1
push {r4-r11}
push {r4-r11}
ldr r12, [sp, #32] @ h
ldr r12, [sp, #32] @ h
...
@@ -1137,8 +1137,8 @@ function ff_put_vp8_pixels16_armv6, export=1
...
@@ -1137,8 +1137,8 @@ function ff_put_vp8_pixels16_armv6, export=1
bx lr
bx lr
endfunc
endfunc
@ void put_vp8_pixels8(uint8_t *dst,
in
t dststride, uint8_t *src,
@ void put_vp8_pixels8(uint8_t *dst,
ptrdiff_
t dststride, uint8_t *src,
@
in
t srcstride, int h, int mx, int my)
@
ptrdiff_
t srcstride, int h, int mx, int my)
function ff_put_vp8_pixels8_armv6, export=1
function ff_put_vp8_pixels8_armv6, export=1
push {r4-r11}
push {r4-r11}
ldr r12, [sp, #32] @ h
ldr r12, [sp, #32] @ h
...
@@ -1161,8 +1161,8 @@ function ff_put_vp8_pixels8_armv6, export=1
...
@@ -1161,8 +1161,8 @@ function ff_put_vp8_pixels8_armv6, export=1
bx lr
bx lr
endfunc
endfunc
@ void put_vp8_pixels4(uint8_t *dst,
in
t dststride, uint8_t *src,
@ void put_vp8_pixels4(uint8_t *dst,
ptrdiff_
t dststride, uint8_t *src,
@
in
t srcstride, int h, int mx, int my)
@
ptrdiff_
t srcstride, int h, int mx, int my)
function ff_put_vp8_pixels4_armv6, export=1
function ff_put_vp8_pixels4_armv6, export=1
ldr r12, [sp, #0] @ h
ldr r12, [sp, #0] @ h
push {r4-r6,lr}
push {r4-r6,lr}
...
...
libavcodec/x86/vp8dsp.asm
View file @
802727b5
...
@@ -156,8 +156,8 @@ SECTION .text
...
@@ -156,8 +156,8 @@ SECTION .text
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
; subpel MC functions:
; subpel MC functions:
;
;
; void ff_put_vp8_epel<size>_h<htap>v<vtap>_<opt>(uint8_t *dst,
in
t deststride,
; void ff_put_vp8_epel<size>_h<htap>v<vtap>_<opt>(uint8_t *dst,
ptrdiff_
t deststride,
; uint8_t *src,
in
t srcstride,
; uint8_t *src,
ptrdiff_
t srcstride,
; int height, int mx, int my);
; int height, int mx, int my);
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
...
@@ -884,7 +884,7 @@ cglobal put_vp8_pixels16, 5, 5, 2, dst, dststride, src, srcstride, height
...
@@ -884,7 +884,7 @@ cglobal put_vp8_pixels16, 5, 5, 2, dst, dststride, src, srcstride, height
REP_RET
REP_RET
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void ff_vp8_idct_dc_add_<opt>(uint8_t *dst, int16_t block[16],
in
t stride);
; void ff_vp8_idct_dc_add_<opt>(uint8_t *dst, int16_t block[16],
ptrdiff_
t stride);
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
%macro
ADD_DC
4
%macro
ADD_DC
4
...
@@ -962,7 +962,7 @@ cglobal vp8_idct_dc_add, 3, 3, 6, dst, block, stride
...
@@ -962,7 +962,7 @@ cglobal vp8_idct_dc_add, 3, 3, 6, dst, block, stride
RET
RET
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void ff_vp8_idct_dc_add4y_<opt>(uint8_t *dst, int16_t block[4][16],
in
t stride);
; void ff_vp8_idct_dc_add4y_<opt>(uint8_t *dst, int16_t block[4][16],
ptrdiff_
t stride);
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
%if
ARCH_X86_32
%if
ARCH_X86_32
...
@@ -1035,7 +1035,7 @@ cglobal vp8_idct_dc_add4y, 3, 3, 6, dst, block, stride
...
@@ -1035,7 +1035,7 @@ cglobal vp8_idct_dc_add4y, 3, 3, 6, dst, block, stride
RET
RET
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void ff_vp8_idct_dc_add4uv_<opt>(uint8_t *dst, int16_t block[4][16],
in
t stride);
; void ff_vp8_idct_dc_add4uv_<opt>(uint8_t *dst, int16_t block[4][16],
ptrdiff_
t stride);
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
INIT_MMX
mmx
INIT_MMX
mmx
...
@@ -1077,7 +1077,7 @@ cglobal vp8_idct_dc_add4uv, 3, 3, 0, dst, block, stride
...
@@ -1077,7 +1077,7 @@ cglobal vp8_idct_dc_add4uv, 3, 3, 0, dst, block, stride
RET
RET
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void ff_vp8_idct_add_<opt>(uint8_t *dst, int16_t block[16],
in
t stride);
; void ff_vp8_idct_add_<opt>(uint8_t *dst, int16_t block[16],
ptrdiff_
t stride);
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; calculate %1=mul_35468(%1)-mul_20091(%2); %2=mul_20091(%1)+mul_35468(%2)
; calculate %1=mul_35468(%1)-mul_20091(%2); %2=mul_20091(%1)+mul_35468(%2)
...
...
libavcodec/x86/vp8dsp_loopfilter.asm
View file @
802727b5
...
@@ -43,7 +43,7 @@ cextern pb_80
...
@@ -43,7 +43,7 @@ cextern pb_80
SECTION
.
text
SECTION
.
text
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void ff_vp8_h/v_loop_filter_simple_<opt>(uint8_t *dst,
in
t stride, int flim);
; void ff_vp8_h/v_loop_filter_simple_<opt>(uint8_t *dst,
ptrdiff_
t stride, int flim);
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; macro called with 7 mm register indexes as argument, and 4 regular registers
; macro called with 7 mm register indexes as argument, and 4 regular registers
...
@@ -429,7 +429,7 @@ INIT_XMM sse4
...
@@ -429,7 +429,7 @@ INIT_XMM sse4
SIMPLE_LOOPFILTER
h
,
5
SIMPLE_LOOPFILTER
h
,
5
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void ff_vp8_h/v_loop_filter<size>_inner_<opt>(uint8_t *dst, [uint8_t *v,]
in
t stride,
; void ff_vp8_h/v_loop_filter<size>_inner_<opt>(uint8_t *dst, [uint8_t *v,]
ptrdiff_
t stride,
; int flimE, int flimI, int hev_thr);
; int flimE, int flimI, int hev_thr);
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
...
@@ -921,7 +921,7 @@ INNER_LOOPFILTER v, 8
...
@@ -921,7 +921,7 @@ INNER_LOOPFILTER v, 8
INNER_LOOPFILTER
h
,
8
INNER_LOOPFILTER
h
,
8
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void ff_vp8_h/v_loop_filter<size>_mbedge_<opt>(uint8_t *dst, [uint8_t *v,]
in
t stride,
; void ff_vp8_h/v_loop_filter<size>_mbedge_<opt>(uint8_t *dst, [uint8_t *v,]
ptrdiff_
t stride,
; int flimE, int flimI, int hev_thr);
; int flimE, int flimI, int hev_thr);
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
...
...
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