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
edd1f833
Commit
edd1f833
authored
Dec 18, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: h264_idct_10_bit: Use proper type in function prototype comments
parent
831a1180
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
h264_idct_10bit.asm
libavcodec/x86/h264_idct_10bit.asm
+12
-8
No files found.
libavcodec/x86/h264_idct_10bit.asm
View file @
edd1f833
...
@@ -32,7 +32,7 @@ pd_32: times 4 dd 32
...
@@ -32,7 +32,7 @@ pd_32: times 4 dd 32
SECTION
.
text
SECTION
.
text
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void h264_idct_add(pixel *dst,
dctcoef
*block, int stride)
; void h264_idct_add(pixel *dst,
int16_t
*block, int stride)
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
%macro
STORE_DIFFx2
6
%macro
STORE_DIFFx2
6
psrad
%1
,
6
psrad
%1
,
6
...
@@ -87,7 +87,8 @@ INIT_XMM avx
...
@@ -87,7 +87,8 @@ INIT_XMM avx
IDCT_ADD_10
IDCT_ADD_10
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; h264_idct_add16(pixel *dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8])
; h264_idct_add16(pixel *dst, const int *block_offset, int16_t *block,
; int stride, const uint8_t nnzc[6*8])
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
;;;;;;; NO FATE SAMPLES TRIGGER THIS
;;;;;;; NO FATE SAMPLES TRIGGER THIS
%macro
ADD4x4IDCT
0
%macro
ADD4x4IDCT
0
...
@@ -157,7 +158,7 @@ INIT_XMM avx
...
@@ -157,7 +158,7 @@ INIT_XMM avx
IDCT_ADD16_10
IDCT_ADD16_10
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void h264_idct_dc_add(pixel *dst,
dctcoef
*block, int stride)
; void h264_idct_dc_add(pixel *dst,
int16_t
*block, int stride)
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
%macro
IDCT_DC_ADD_OP_10
3
%macro
IDCT_DC_ADD_OP_10
3
pxor
m5
,
m5
pxor
m5
,
m5
...
@@ -199,7 +200,7 @@ cglobal h264_idct_dc_add_10,3,3
...
@@ -199,7 +200,7 @@ cglobal h264_idct_dc_add_10,3,3
RET
RET
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void h264_idct8_dc_add(pixel *dst,
dctcoef
*block, int stride)
; void h264_idct8_dc_add(pixel *dst,
int16_t
*block, int stride)
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
%macro
IDCT8_DC_ADD
0
%macro
IDCT8_DC_ADD
0
cglobal
h264_idct8_dc_add_10
,
3
,
4
,
7
cglobal
h264_idct8_dc_add_10
,
3
,
4
,
7
...
@@ -222,7 +223,8 @@ INIT_XMM avx
...
@@ -222,7 +223,8 @@ INIT_XMM avx
IDCT8_DC_ADD
IDCT8_DC_ADD
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; h264_idct_add16intra(pixel *dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8])
; h264_idct_add16intra(pixel *dst, const int *block_offset, int16_t *block,
; int stride, const uint8_t nnzc[6*8])
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
%macro
AC
1
%macro
AC
1
.
ac%1:
.
ac%1:
...
@@ -294,7 +296,8 @@ IDCT_ADD16INTRA_10
...
@@ -294,7 +296,8 @@ IDCT_ADD16INTRA_10
%assign
last_block
36
%assign
last_block
36
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; h264_idct_add8(pixel **dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8])
; h264_idct_add8(pixel **dst, const int *block_offset, int16_t *block,
; int stride, const uint8_t nnzc[6*8])
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
%macro
IDCT_ADD8
0
%macro
IDCT_ADD8
0
cglobal
h264_idct_add8_10
,
5
,
8
,
7
cglobal
h264_idct_add8_10
,
5
,
8
,
7
...
@@ -328,7 +331,7 @@ INIT_XMM avx
...
@@ -328,7 +331,7 @@ INIT_XMM avx
IDCT_ADD8
IDCT_ADD8
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; void h264_idct8_add(pixel *dst,
dctcoef
*block, int stride)
; void h264_idct8_add(pixel *dst,
int16_t
*block, int stride)
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
%macro
IDCT8_1D
2
%macro
IDCT8_1D
2
SWAP
0
,
1
SWAP
0
,
1
...
@@ -535,7 +538,8 @@ INIT_XMM avx
...
@@ -535,7 +538,8 @@ INIT_XMM avx
IDCT8_ADD
IDCT8_ADD
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; h264_idct8_add4(pixel **dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8])
; h264_idct8_add4(pixel **dst, const int *block_offset, int16_t *block,
; int stride, const uint8_t nnzc[6*8])
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
;;;;;;; NO FATE SAMPLES TRIGGER THIS
;;;;;;; NO FATE SAMPLES TRIGGER THIS
%macro
IDCT8_ADD4_OP
2
%macro
IDCT8_ADD4_OP
2
...
...
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