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
a89c0550
Commit
a89c0550
authored
Apr 10, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: h264qpel: int --> ptrdiff_t for some line_size parameters
parent
25882a7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
h264_qpel.c
libavcodec/x86/h264_qpel.c
+8
-5
qpel.asm
libavcodec/x86/qpel.asm
+1
-1
No files found.
libavcodec/x86/h264_qpel.c
View file @
a89c0550
...
...
@@ -28,17 +28,20 @@
#include "dsputil_mmx.h"
#if HAVE_YASM
void
ff_put_pixels4_mmxext
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
void
ff_avg_pixels4_mmxext
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
void
ff_put_pixels8_mmxext
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
void
ff_put_pixels4_mmxext
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
);
void
ff_avg_pixels4_mmxext
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
);
void
ff_put_pixels8_mmxext
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
);
static
void
ff_put_pixels16_mmxext
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
in
t
line_size
,
int
h
)
ptrdiff_
t
line_size
,
int
h
)
{
ff_put_pixels8_mmxext
(
block
,
pixels
,
line_size
,
h
);
ff_put_pixels8_mmxext
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
}
static
void
ff_avg_pixels16_mmxext
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
in
t
line_size
,
int
h
)
ptrdiff_
t
line_size
,
int
h
)
{
ff_avg_pixels8_mmxext
(
block
,
pixels
,
line_size
,
h
);
ff_avg_pixels8_mmxext
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
...
...
libavcodec/x86/qpel.asm
View file @
a89c0550
...
...
@@ -176,7 +176,7 @@ PIXELS16_L2 put
PIXELS16_L2
avg
INIT_MMX
mmxext
; void pixels(uint8_t *block, const uint8_t *pixels,
in
t line_size, int h)
; void pixels(uint8_t *block, const uint8_t *pixels,
ptrdiff_
t line_size, int h)
%macro
PIXELS48
2
%if
%2
==
4
%define
OP
movh
...
...
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