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
47318953
Commit
47318953
authored
Jan 13, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: remove some unused variables from Picture.
parent
231fd1ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
motion_est.c
libavcodec/motion_est.c
+0
-2
mpegvideo.h
libavcodec/mpegvideo.h
+0
-5
No files found.
libavcodec/motion_est.c
View file @
47318953
...
...
@@ -1077,7 +1077,6 @@ void ff_estimate_p_frame_motion(MpegEncContext * s,
vard
=
s
->
dsp
.
sse
[
0
](
NULL
,
pix
,
ppix
,
s
->
linesize
,
16
);
pic
->
mc_mb_var
[
s
->
mb_stride
*
mb_y
+
mb_x
]
=
(
vard
+
128
)
>>
8
;
// pic->mb_cmp_score[s->mb_stride * mb_y + mb_x] = dmin;
c
->
mc_mb_var_sum_temp
+=
(
vard
+
128
)
>>
8
;
if
(
mb_type
){
...
...
@@ -1156,7 +1155,6 @@ void ff_estimate_p_frame_motion(MpegEncContext * s,
}
}
// pic->mb_cmp_score[s->mb_stride * mb_y + mb_x] = dmin;
set_p_mv_tables
(
s
,
mx
,
my
,
mb_type
!=
CANDIDATE_MB_TYPE_INTER4V
);
/* get intra luma score */
...
...
libavcodec/mpegvideo.h
View file @
47318953
...
...
@@ -94,10 +94,6 @@ struct MpegEncContext;
typedef
struct
Picture
{
struct
AVFrame
f
;
/**
* halfpel luma planes.
*/
uint8_t
*
interpolated
[
3
];
int8_t
*
qscale_table_base
;
int16_t
(
*
motion_val_base
[
2
])[
2
];
uint32_t
*
mb_type_base
;
...
...
@@ -143,7 +139,6 @@ typedef struct Picture{
uint16_t
*
mb_var
;
///< Table for MB variances
uint16_t
*
mc_mb_var
;
///< Table for motion compensated MB variances
uint8_t
*
mb_mean
;
///< Table for MB luminance
int32_t
*
mb_cmp_score
;
///< Table for MB cmp scores, for mb decision FIXME remove
int
b_frame_score
;
/* */
struct
MpegEncContext
*
owner2
;
///< pointer to the MpegEncContext that allocated this picture
int
needs_realloc
;
///< Picture needs to be reallocated (eg due to a frame size change)
...
...
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