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
019b378d
Commit
019b378d
authored
Mar 13, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vc1: fix int/ptrdiff_t mismatches
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
db4e4f76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
vc1dsp.c
libavcodec/vc1dsp.c
+2
-2
vc1dsp.h
libavcodec/vc1dsp.h
+1
-1
No files found.
libavcodec/vc1dsp.c
View file @
019b378d
...
...
@@ -565,7 +565,7 @@ static av_always_inline int vc1_mspel_filter(const uint8_t *src, int stride, int
/** Function used to do motion compensation with bicubic interpolation
*/
#define VC1_MSPEL_MC(OP, OP4, OPNAME)\
static av_always_inline void OPNAME ## vc1_mspel_mc(uint8_t *dst, const uint8_t *src,
in
t stride, int hmode, int vmode, int rnd)\
static av_always_inline void OPNAME ## vc1_mspel_mc(uint8_t *dst, const uint8_t *src,
ptrdiff_
t stride, int hmode, int vmode, int rnd)\
{\
int i, j;\
\
...
...
@@ -619,7 +619,7 @@ static av_always_inline void OPNAME ## vc1_mspel_mc(uint8_t *dst, const uint8_t
src += stride;\
}\
}\
static void OPNAME ## pixels8x8_c(uint8_t *block, const uint8_t *pixels,
in
t line_size, int rnd){\
static void OPNAME ## pixels8x8_c(uint8_t *block, const uint8_t *pixels,
ptrdiff_
t line_size, int rnd){\
int i;\
for(i=0; i<8; i++){\
OP4(*(uint32_t*)(block ), AV_RN32(pixels ));\
...
...
libavcodec/vc1dsp.h
View file @
019b378d
...
...
@@ -31,7 +31,7 @@
#include "dsputil.h"
#include "h264chroma.h"
typedef
void
(
*
vc1op_pixels_func
)(
uint8_t
*
block
/*align width (8 or 16)*/
,
const
uint8_t
*
pixels
/*align 1*/
,
in
t
line_size
,
int
h
);
typedef
void
(
*
vc1op_pixels_func
)(
uint8_t
*
block
/*align width (8 or 16)*/
,
const
uint8_t
*
pixels
/*align 1*/
,
ptrdiff_
t
line_size
,
int
h
);
typedef
struct
VC1DSPContext
{
/* vc1 functions */
...
...
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