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
fa79489f
Commit
fa79489f
authored
Jan 24, 2009
by
Stefan Gehrer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid duplication of dquant_code
Originally committed as revision 16742 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
673bcc3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
h263.c
libavcodec/h263.c
+2
-2
No files found.
libavcodec/h263.c
View file @
fa79489f
...
...
@@ -895,6 +895,8 @@ static inline void mpeg4_encode_blocks(MpegEncContext * s, DCTELEM block[6][64],
}
}
static
const
int
dquant_code
[
5
]
=
{
1
,
0
,
9
,
2
,
3
};
void
mpeg4_encode_mb
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
int
motion_x
,
int
motion_y
)
...
...
@@ -904,7 +906,6 @@ void mpeg4_encode_mb(MpegEncContext * s,
PutBitContext
*
const
tex_pb
=
s
->
data_partitioning
&&
s
->
pict_type
!=
FF_B_TYPE
?
&
s
->
tex_pb
:
&
s
->
pb
;
PutBitContext
*
const
dc_pb
=
s
->
data_partitioning
&&
s
->
pict_type
!=
FF_I_TYPE
?
&
s
->
pb2
:
&
s
->
pb
;
const
int
interleaved_stats
=
(
s
->
flags
&
CODEC_FLAG_PASS1
)
&&
!
s
->
data_partitioning
?
1
:
0
;
const
int
dquant_code
[
5
]
=
{
1
,
0
,
9
,
2
,
3
};
// printf("**mb x=%d y=%d\n", s->mb_x, s->mb_y);
if
(
!
s
->
mb_intra
)
{
...
...
@@ -1268,7 +1269,6 @@ void h263_encode_mb(MpegEncContext * s,
int16_t
rec_intradc
[
6
];
int16_t
*
dc_ptr
[
6
];
const
int
interleaved_stats
=
(
s
->
flags
&
CODEC_FLAG_PASS1
);
const
int
dquant_code
[
5
]
=
{
1
,
0
,
9
,
2
,
3
};
//printf("**mb x=%d y=%d\n", s->mb_x, s->mb_y);
if
(
!
s
->
mb_intra
)
{
...
...
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