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
d9b141c0
Commit
d9b141c0
authored
Sep 18, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postproc/postprocess: Remove unused argument from reallocAlign()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
27f936ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
postprocess.c
libpostproc/postprocess.c
+11
-11
No files found.
libpostproc/postprocess.c
View file @
d9b141c0
...
...
@@ -853,7 +853,7 @@ void pp_free_mode(pp_mode *mode){
av_free
(
mode
);
}
static
void
reallocAlign
(
void
**
p
,
int
alignment
,
int
size
){
static
void
reallocAlign
(
void
**
p
,
int
size
){
av_free
(
*
p
);
*
p
=
av_mallocz
(
size
);
}
...
...
@@ -866,23 +866,23 @@ static void reallocBuffers(PPContext *c, int width, int height, int stride, int
c
->
stride
=
stride
;
c
->
qpStride
=
qpStride
;
reallocAlign
((
void
**
)
&
c
->
tempDst
,
8
,
stride
*
24
+
32
);
reallocAlign
((
void
**
)
&
c
->
tempSrc
,
8
,
stride
*
24
);
reallocAlign
((
void
**
)
&
c
->
tempBlocks
,
8
,
2
*
16
*
8
);
reallocAlign
((
void
**
)
&
c
->
yHistogram
,
8
,
256
*
sizeof
(
uint64_t
));
reallocAlign
((
void
**
)
&
c
->
tempDst
,
stride
*
24
+
32
);
reallocAlign
((
void
**
)
&
c
->
tempSrc
,
stride
*
24
);
reallocAlign
((
void
**
)
&
c
->
tempBlocks
,
2
*
16
*
8
);
reallocAlign
((
void
**
)
&
c
->
yHistogram
,
256
*
sizeof
(
uint64_t
));
for
(
i
=
0
;
i
<
256
;
i
++
)
c
->
yHistogram
[
i
]
=
width
*
height
/
64
*
15
/
256
;
for
(
i
=
0
;
i
<
3
;
i
++
){
//Note: The +17*1024 is just there so I do not have to worry about r/w over the end.
reallocAlign
((
void
**
)
&
c
->
tempBlurred
[
i
],
8
,
stride
*
mbHeight
*
16
+
17
*
1024
);
reallocAlign
((
void
**
)
&
c
->
tempBlurredPast
[
i
],
8
,
256
*
((
height
+
7
)
&
(
~
7
))
/
2
+
17
*
1024
);
//FIXME size
reallocAlign
((
void
**
)
&
c
->
tempBlurred
[
i
],
stride
*
mbHeight
*
16
+
17
*
1024
);
reallocAlign
((
void
**
)
&
c
->
tempBlurredPast
[
i
],
256
*
((
height
+
7
)
&
(
~
7
))
/
2
+
17
*
1024
);
//FIXME size
}
reallocAlign
((
void
**
)
&
c
->
deintTemp
,
8
,
2
*
width
+
32
);
reallocAlign
((
void
**
)
&
c
->
nonBQPTable
,
8
,
qpStride
*
mbHeight
*
sizeof
(
QP_STORE_T
));
reallocAlign
((
void
**
)
&
c
->
stdQPTable
,
8
,
qpStride
*
mbHeight
*
sizeof
(
QP_STORE_T
));
reallocAlign
((
void
**
)
&
c
->
forcedQPTable
,
8
,
mbWidth
*
sizeof
(
QP_STORE_T
));
reallocAlign
((
void
**
)
&
c
->
deintTemp
,
2
*
width
+
32
);
reallocAlign
((
void
**
)
&
c
->
nonBQPTable
,
qpStride
*
mbHeight
*
sizeof
(
QP_STORE_T
));
reallocAlign
((
void
**
)
&
c
->
stdQPTable
,
qpStride
*
mbHeight
*
sizeof
(
QP_STORE_T
));
reallocAlign
((
void
**
)
&
c
->
forcedQPTable
,
mbWidth
*
sizeof
(
QP_STORE_T
));
}
static
const
char
*
context_to_name
(
void
*
ptr
)
{
...
...
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