Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
d5b015e4
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d5b015e4
编写于
10月 07, 2011
作者:
M
Mashiat Sarker Shakkhar
提交者:
Anton Khirnov
10月 10, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
vc1dec: interlaced stream decoding support 1/3
Signed-off-by:
N
Anton Khirnov
<
anton@khirnov.net
>
上级
53efb758
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
57 addition
and
4 deletion
+57
-4
libavcodec/vc1.h
libavcodec/vc1.h
+57
-4
未找到文件。
libavcodec/vc1.h
浏览文件 @
d5b015e4
...
...
@@ -105,12 +105,25 @@ enum MVModes {
};
//@}
/** MBMODE for interlaced frame P-picture */
//@{
enum
MBModesIntfr
{
MV_PMODE_INTFR_1MV
,
MV_PMODE_INTFR_2MV_FIELD
,
MV_PMODE_INTFR_2MV
,
MV_PMODE_INTFR_4MV_FIELD
,
MV_PMODE_INTFR_4MV
,
MV_PMODE_INTFR_INTRA
,
};
//@}
/** @name MV types for B frames */
//@{
enum
BMVTypes
{
BMV_TYPE_BACKWARD
,
BMV_TYPE_FORWARD
,
BMV_TYPE_INTERPOLATED
BMV_TYPE_INTERPOLATED
,
BMV_TYPE_DIRECT
};
//@}
...
...
@@ -260,16 +273,18 @@ typedef struct VC1Context{
* -# 2 -> [-512, 511.f] x [-128, 127.f]
* -# 3 -> [-1024, 1023.f] x [-256, 255.f]
*/
uint8_t
mvrange
;
uint8_t
mvrange
;
///< Extended MV range flag
uint8_t
pquantizer
;
///< Uniform (over sequence) quantizer in use
VLC
*
cbpcy_vlc
;
///< CBPCY VLC table
int
tt_index
;
///< Index for Transform Type tables
int
tt_index
;
///< Index for Transform Type tables
(to decode TTMB)
uint8_t
*
mv_type_mb_plane
;
///< bitplane for mv_type == (4MV)
uint8_t
*
direct_mb_plane
;
///< bitplane for "direct" MBs
uint8_t
*
forward_mb_plane
;
///< bitplane for "forward" MBs
int
mv_type_is_raw
;
///< mv type mb plane is not coded
int
dmb_is_raw
;
///< direct mb plane is raw
int
fmb_is_raw
;
///< forward mb plane is raw
int
skip_is_raw
;
///< skip mb plane is not coded
uint8_t
luty
[
256
],
lutuv
[
256
];
//
lookup tables used for intensity compensation
uint8_t
luty
[
256
],
lutuv
[
256
];
///<
lookup tables used for intensity compensation
int
use_ic
;
///< use intensity compensation in B-frames
int
rnd
;
///< rounding control
...
...
@@ -307,6 +322,44 @@ typedef struct VC1Context{
uint8_t
range_mapuv
;
//@}
/** Frame decoding info for interlaced picture */
uint8_t
dmvrange
;
///< Extended differential MV range flag
int
fourmvswitch
;
int
intcomp
;
uint8_t
lumscale2
;
///< for interlaced field P picture
uint8_t
lumshift2
;
uint8_t
luty2
[
256
],
lutuv2
[
256
];
// lookup tables used for intensity compensation
VLC
*
mbmode_vlc
;
VLC
*
imv_vlc
;
VLC
*
twomvbp_vlc
;
VLC
*
fourmvbp_vlc
;
uint8_t
twomvbp
;
uint8_t
fourmvbp
;
uint8_t
*
fieldtx_plane
;
int
fieldtx_is_raw
;
int8_t
zzi_8x8
[
64
];
uint8_t
*
blk_mv_type_base
,
*
blk_mv_type
;
///< 0: frame MV, 1: field MV (interlaced frame)
uint8_t
*
mv_f_base
,
*
mv_f
[
2
];
///< 0: MV obtained from same field, 1: opposite field
uint8_t
*
mv_f_last_base
,
*
mv_f_last
[
2
];
uint8_t
*
mv_f_next_base
,
*
mv_f_next
[
2
];
int
field_mode
;
///< 1 for interlaced field pictures
int
fptype
;
int
second_field
;
int
refdist
;
///< distance of the current picture from reference
int
numref
;
///< number of past field pictures used as reference
// 0 corresponds to 1 and 1 corresponds to 2 references
int
reffield
;
///< if numref = 0 (1 reference) then reffield decides which
// field to use among the two fields from previous frame
int
intcompfield
;
///< which of the two fields to be intensity compensated
// 0: both fields, 1: bottom field, 2: top field
int
cur_field_type
;
///< 0: top, 1: bottom
int
ref_field_type
[
2
];
///< forward and backward reference field type (top or bottom)
int
blocks_off
,
mb_off
;
int
qs_last
;
///< if qpel has been used in the previous (tr.) picture
int
bmvtype
;
int
frfd
,
brfd
;
///< reference frame distance (forward or backward)
int
pic_header_flag
;
/** Frame decoding info for sprite modes */
//@{
int
new_sprite
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录