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
1215889b
Commit
1215889b
authored
Dec 10, 2017
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkasm/llviddsp: fix mixed code and declarations
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
438f884f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
llviddsp.c
tests/checkasm/llviddsp.c
+3
-3
No files found.
tests/checkasm/llviddsp.c
View file @
1215889b
...
...
@@ -168,14 +168,14 @@ static void check_add_left_pred_16(LLVidDSPContext c, unsigned mask, int width,
static
void
check_add_gradient_pred
(
LLVidDSPContext
c
,
int
w
)
{
int
src_size
,
stride
;
uint8_t
*
src0
,
*
src1
;
declare_func_emms
(
AV_CPU_FLAG_MMX
,
void
,
uint8_t
*
src
,
const
ptrdiff_t
stride
,
const
ptrdiff_t
width
);
stride
=
w
+
32
;
src_size
=
(
stride
+
32
)
*
2
;
/* dsp need previous line, and ignore the start of the line */
src0
=
av_mallocz
(
src_size
);
src1
=
av_mallocz
(
src_size
);
declare_func_emms
(
AV_CPU_FLAG_MMX
,
void
,
uint8_t
*
src
,
const
ptrdiff_t
stride
,
const
ptrdiff_t
width
);
init_buffer
(
src0
,
src1
,
uint8_t
,
src_size
);
if
(
check_func
(
c
.
add_gradient_pred
,
"add_gradient_pred"
))
{
...
...
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