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
911c00e6
Commit
911c00e6
authored
Dec 05, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
motion_est: use av_log() in debug code
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7c2481f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
motion_est_template.c
libavcodec/motion_est_template.c
+4
-4
No files found.
libavcodec/motion_est_template.c
View file @
911c00e6
...
@@ -400,10 +400,10 @@ static int qpel_motion_search(MpegEncContext * s,
...
@@ -400,10 +400,10 @@ static int qpel_motion_search(MpegEncContext * s,
}
}
#define check(x,y,S,v)\
#define check(x,y,S,v)\
if( (x)<(xmin<<(S)) )
printf(
"%d %d %d %d %d xmin" #v, xmin, (x), (y), s->mb_x, s->mb_y);\
if( (x)<(xmin<<(S)) )
av_log(NULL, AV_LOG_ERROR,
"%d %d %d %d %d xmin" #v, xmin, (x), (y), s->mb_x, s->mb_y);\
if( (x)>(xmax<<(S)) )
printf(
"%d %d %d %d %d xmax" #v, xmax, (x), (y), s->mb_x, s->mb_y);\
if( (x)>(xmax<<(S)) )
av_log(NULL, AV_LOG_ERROR,
"%d %d %d %d %d xmax" #v, xmax, (x), (y), s->mb_x, s->mb_y);\
if( (y)<(ymin<<(S)) )
printf(
"%d %d %d %d %d ymin" #v, ymin, (x), (y), s->mb_x, s->mb_y);\
if( (y)<(ymin<<(S)) )
av_log(NULL, AV_LOG_ERROR,
"%d %d %d %d %d ymin" #v, ymin, (x), (y), s->mb_x, s->mb_y);\
if( (y)>(ymax<<(S)) )
printf(
"%d %d %d %d %d ymax" #v, ymax, (x), (y), s->mb_x, s->mb_y);\
if( (y)>(ymax<<(S)) )
av_log(NULL, AV_LOG_ERROR,
"%d %d %d %d %d ymax" #v, ymax, (x), (y), s->mb_x, s->mb_y);\
#define LOAD_COMMON2\
#define LOAD_COMMON2\
uint32_t *map= c->map;\
uint32_t *map= c->map;\
...
...
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