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
67685620
Commit
67685620
authored
Mar 28, 2014
by
Timothy Gu
Committed by
Vittorio Giovara
Apr 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DNxHD: make get_pixel_8x4_sym accept ptrdiff_t as stride
parent
89ef08c9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
dnxhdenc.c
libavcodec/dnxhdenc.c
+2
-2
dnxhdenc.h
libavcodec/dnxhdenc.h
+2
-1
dnxhdenc.c
libavcodec/x86/dnxhdenc.c
+1
-1
No files found.
libavcodec/dnxhdenc.c
View file @
67685620
...
...
@@ -55,7 +55,7 @@ static const AVClass class = {
static
void
dnxhd_8bit_get_pixels_8x4_sym
(
int16_t
*
restrict
block
,
const
uint8_t
*
pixels
,
in
t
line_size
)
ptrdiff_
t
line_size
)
{
int
i
;
for
(
i
=
0
;
i
<
4
;
i
++
)
{
...
...
@@ -79,7 +79,7 @@ static void dnxhd_8bit_get_pixels_8x4_sym(int16_t *restrict block,
static
av_always_inline
void
dnxhd_10bit_get_pixels_8x4_sym
(
int16_t
*
restrict
block
,
const
uint8_t
*
pixels
,
in
t
line_size
)
ptrdiff_
t
line_size
)
{
int
i
;
...
...
libavcodec/dnxhdenc.h
View file @
67685620
...
...
@@ -91,7 +91,8 @@ typedef struct DNXHDEncContext {
RCCMPEntry
*
mb_cmp
;
RCEntry
(
*
mb_rc
)[
8160
];
void
(
*
get_pixels_8x4_sym
)(
int16_t
*
/*align 16*/
,
const
uint8_t
*
,
int
);
void
(
*
get_pixels_8x4_sym
)(
int16_t
*
/* align 16 */
,
const
uint8_t
*
,
ptrdiff_t
);
}
DNXHDEncContext
;
void
ff_dnxhdenc_init_x86
(
DNXHDEncContext
*
ctx
);
...
...
libavcodec/x86/dnxhdenc.c
View file @
67685620
...
...
@@ -28,7 +28,7 @@
#if HAVE_SSE2_INLINE
static
void
get_pixels_8x4_sym_sse2
(
int16_t
*
block
,
const
uint8_t
*
pixels
,
in
t
line_size
)
static
void
get_pixels_8x4_sym_sse2
(
int16_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_
t
line_size
)
{
__asm__
volatile
(
"pxor %%xmm5, %%xmm5
\n\t
"
...
...
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