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
c1f92d13
Commit
c1f92d13
authored
Dec 05, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: remove unused MpegEncContext.b4_stride
parent
6a13505c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
mpegvideo.c
libavcodec/mpegvideo.c
+0
-1
mpegvideo.h
libavcodec/mpegvideo.h
+0
-1
No files found.
libavcodec/mpegvideo.c
View file @
c1f92d13
...
...
@@ -1064,7 +1064,6 @@ static int init_context_frame(MpegEncContext *s)
s
->
mb_width
=
(
s
->
width
+
15
)
/
16
;
s
->
mb_stride
=
s
->
mb_width
+
1
;
s
->
b8_stride
=
s
->
mb_width
*
2
+
1
;
s
->
b4_stride
=
s
->
mb_width
*
4
+
1
;
mb_array_size
=
s
->
mb_height
*
s
->
mb_stride
;
mv_table_size
=
(
s
->
mb_height
+
2
)
*
s
->
mb_stride
+
1
;
...
...
libavcodec/mpegvideo.h
View file @
c1f92d13
...
...
@@ -249,7 +249,6 @@ typedef struct MpegEncContext {
int
mb_width
,
mb_height
;
///< number of MBs horizontally & vertically
int
mb_stride
;
///< mb_width+1 used for some arrays to allow simple addressing of left & top MBs without sig11
int
b8_stride
;
///< 2*mb_width+1 used for some 8x8 block arrays to allow simple addressing
int
b4_stride
;
///< 4*mb_width+1 used for some 4x4 block arrays to allow simple addressing
int
h_edge_pos
,
v_edge_pos
;
///< horizontal / vertical position of the right/bottom edge (pixel replication)
int
mb_num
;
///< number of MBs of a picture
ptrdiff_t
linesize
;
///< line size, in bytes, may be different from width
...
...
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