Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
4fbb62a2
Commit
4fbb62a2
authored
Jul 23, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: Move ME_MAP_* defines to the only place they are used
parent
ff853343
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
motion_est.c
libavcodec/motion_est.c
+3
-0
mpegvideo.h
libavcodec/mpegvideo.h
+0
-2
No files found.
libavcodec/motion_est.c
View file @
4fbb62a2
...
@@ -45,6 +45,9 @@
...
@@ -45,6 +45,9 @@
#define P_MEDIAN P[4]
#define P_MEDIAN P[4]
#define P_MV1 P[9]
#define P_MV1 P[9]
#define ME_MAP_SHIFT 3
#define ME_MAP_MV_BITS 11
static
int
sad_hpel_motion_search
(
MpegEncContext
*
s
,
static
int
sad_hpel_motion_search
(
MpegEncContext
*
s
,
int
*
mx_ptr
,
int
*
my_ptr
,
int
dmin
,
int
*
mx_ptr
,
int
*
my_ptr
,
int
dmin
,
int
src_index
,
int
ref_index
,
int
src_index
,
int
ref_index
,
...
...
libavcodec/mpegvideo.h
View file @
4fbb62a2
...
@@ -73,8 +73,6 @@ enum OutputFormat {
...
@@ -73,8 +73,6 @@ enum OutputFormat {
#define MAX_B_FRAMES 16
#define MAX_B_FRAMES 16
#define ME_MAP_SIZE 64
#define ME_MAP_SIZE 64
#define ME_MAP_SHIFT 3
#define ME_MAP_MV_BITS 11
#define MAX_MB_BYTES (30*16*16*3/8 + 120)
#define MAX_MB_BYTES (30*16*16*3/8 + 120)
...
...
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