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
76fbb024
Commit
76fbb024
authored
Jan 19, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
align
Originally committed as revision 1477 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
35e5fb06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
dsputil.c
libavcodec/dsputil.c
+11
-5
No files found.
libavcodec/dsputil.c
View file @
76fbb024
...
...
@@ -1782,7 +1782,8 @@ static int hadamard8_abs_c(uint8_t *src, int stride, int mean){
static
int
dct_sad8x8_c
(
/*MpegEncContext*/
void
*
c
,
uint8_t
*
src1
,
uint8_t
*
src2
,
int
stride
){
MpegEncContext
*
const
s
=
(
MpegEncContext
*
)
c
;
DCTELEM
temp
[
64
];
uint64_t
__align8
aligned_temp
[
sizeof
(
DCTELEM
)
*
64
/
8
];
DCTELEM
*
const
temp
=
(
DCTELEM
*
)
aligned_temp
;
int
sum
=
0
,
i
;
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
...
...
@@ -1798,7 +1799,9 @@ void simple_idct(DCTELEM *block); //FIXME
static
int
quant_psnr8x8_c
(
/*MpegEncContext*/
void
*
c
,
uint8_t
*
src1
,
uint8_t
*
src2
,
int
stride
){
MpegEncContext
*
const
s
=
(
MpegEncContext
*
)
c
;
DCTELEM
temp
[
64
],
bak
[
64
];
uint64_t
__align8
aligned_temp
[
sizeof
(
DCTELEM
)
*
64
*
2
/
8
];
DCTELEM
*
const
temp
=
(
DCTELEM
*
)
aligned_temp
;
DCTELEM
*
const
bak
=
((
DCTELEM
*
)
aligned_temp
)
+
64
;
int
sum
=
0
,
i
;
s
->
mb_intra
=
0
;
...
...
@@ -1820,8 +1823,10 @@ static int quant_psnr8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *s
static
int
rd8x8_c
(
/*MpegEncContext*/
void
*
c
,
uint8_t
*
src1
,
uint8_t
*
src2
,
int
stride
){
MpegEncContext
*
const
s
=
(
MpegEncContext
*
)
c
;
const
UINT8
*
scantable
=
s
->
intra_scantable
.
permutated
;
DCTELEM
temp
[
64
];
uint8_t
bak
[
stride
*
8
];
uint64_t
__align8
aligned_temp
[
sizeof
(
DCTELEM
)
*
64
/
8
];
uint64_t
__align8
aligned_bak
[
stride
];
DCTELEM
*
const
temp
=
(
DCTELEM
*
)
aligned_temp
;
uint8_t
*
const
bak
=
(
uint8_t
*
)
aligned_bak
;
int
i
,
last
,
run
,
bits
,
level
,
distoration
,
start_i
;
const
int
esc_length
=
s
->
ac_esc_length
;
uint8_t
*
length
;
...
...
@@ -1892,7 +1897,8 @@ static int rd8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, int
static
int
bit8x8_c
(
/*MpegEncContext*/
void
*
c
,
uint8_t
*
src1
,
uint8_t
*
src2
,
int
stride
){
MpegEncContext
*
const
s
=
(
MpegEncContext
*
)
c
;
const
UINT8
*
scantable
=
s
->
intra_scantable
.
permutated
;
DCTELEM
temp
[
64
];
uint64_t
__align8
aligned_temp
[
sizeof
(
DCTELEM
)
*
64
/
8
];
DCTELEM
*
const
temp
=
(
DCTELEM
*
)
aligned_temp
;
int
i
,
last
,
run
,
bits
,
level
,
start_i
;
const
int
esc_length
=
s
->
ac_esc_length
;
uint8_t
*
length
;
...
...
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