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
95cefcb4
Commit
95cefcb4
authored
Dec 17, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l
Originally committed as revision 7328 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c29ff23c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
motion_est.c
libavcodec/motion_est.c
+1
-1
No files found.
libavcodec/motion_est.c
View file @
95cefcb4
...
...
@@ -230,9 +230,9 @@ static void zero_hpel(uint8_t *a, const uint8_t *b, int stride, int h){
void
ff_init_me
(
MpegEncContext
*
s
){
MotionEstContext
*
const
c
=
&
s
->
me
;
c
->
avctx
=
s
->
avctx
;
int
cache_size
=
FFMIN
(
ME_MAP_SIZE
>>
ME_MAP_SHIFT
,
1
<<
ME_MAP_SHIFT
);
int
dia_size
=
FFMAX
(
FFABS
(
s
->
avctx
->
dia_size
)
&
255
,
FFABS
(
s
->
avctx
->
pre_dia_size
)
&
255
);
c
->
avctx
=
s
->
avctx
;
if
(
cache_size
<
2
*
dia_size
&&
!
c
->
stride
){
av_log
(
s
->
avctx
,
AV_LOG_INFO
,
"ME_MAP size may be a little small for the selected diamond size
\n
"
);
...
...
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