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
49186206
Commit
49186206
authored
Jan 09, 2009
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add refdist_flag to VC1Context.
Originally committed as revision 16504 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6dde9f8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
vc1.c
libavcodec/vc1.c
+3
-3
vc1.h
libavcodec/vc1.h
+1
-0
No files found.
libavcodec/vc1.c
View file @
49186206
...
...
@@ -1059,13 +1059,13 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
static
int
decode_entry_point
(
AVCodecContext
*
avctx
,
GetBitContext
*
gb
)
{
VC1Context
*
v
=
avctx
->
priv_data
;
int
i
,
blink
,
clentry
,
refdist
;
int
i
,
blink
,
clentry
;
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Entry point: %08X
\n
"
,
show_bits_long
(
gb
,
32
));
blink
=
get_bits1
(
gb
);
// broken link
clentry
=
get_bits1
(
gb
);
// closed entry
v
->
panscanflag
=
get_bits1
(
gb
);
refdist
=
get_bits1
(
gb
);
// refdist flag
v
->
refdist_flag
=
get_bits1
(
gb
);
v
->
s
.
loop_filter
=
get_bits1
(
gb
);
v
->
fastuvmc
=
get_bits1
(
gb
);
v
->
extended_mv
=
get_bits1
(
gb
);
...
...
@@ -1099,7 +1099,7 @@ static int decode_entry_point(AVCodecContext *avctx, GetBitContext *gb)
"BrokenLink=%i, ClosedEntry=%i, PanscanFlag=%i
\n
"
"RefDist=%i, Postproc=%i, FastUVMC=%i, ExtMV=%i
\n
"
"DQuant=%i, VSTransform=%i, Overlap=%i, Qmode=%i
\n
"
,
blink
,
clentry
,
v
->
panscanflag
,
refdist
,
v
->
s
.
loop_filter
,
blink
,
clentry
,
v
->
panscanflag
,
v
->
refdist_flag
,
v
->
s
.
loop_filter
,
v
->
fastuvmc
,
v
->
extended_mv
,
v
->
dquant
,
v
->
vstransform
,
v
->
overlap
,
v
->
quantizer_mode
);
return
0
;
...
...
libavcodec/vc1.h
View file @
49186206
...
...
@@ -180,6 +180,7 @@ typedef struct VC1Context{
int
interlace
;
///< Progressive/interlaced (RPTFTM syntax element)
int
tfcntrflag
;
///< TFCNTR present
int
panscanflag
;
///< NUMPANSCANWIN, TOPLEFT{X,Y}, BOTRIGHT{X,Y} present
int
refdist_flag
;
///< REFDIST syntax element present in II, IP, PI or PP field picture headers
int
extended_dmv
;
///< Additional extended dmv range at P/B frame-level
int
color_prim
;
///< 8bits, chroma coordinates of the color primaries
int
transfer_char
;
///< 8bits, Opto-electronic transfer characteristics
...
...
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