No more linting error of mypy in H264.
This commit is contained in:
@@ -110,9 +110,9 @@ class VUI:
|
||||
time_scale:int=0
|
||||
fixed_frame_rate_flag:bool=False
|
||||
nal_hrd_parameters_present_flag:bool=False
|
||||
hrd_parameters:HRD=None
|
||||
hrd_parameters:HRD|None=None
|
||||
vcl_hrd_parameters_present_flag:bool=False
|
||||
vcl_hrd_parameters:HRD=None
|
||||
vcl_hrd_parameters:HRD|None=None
|
||||
low_delay_hrd_flag:bool=False
|
||||
pic_struct_present_flag:bool=False
|
||||
bitstream_restriction_flag:bool=False
|
||||
@@ -261,25 +261,25 @@ class SPS:
|
||||
log2_max_frame_num_minus4:int=0 # ue(v)
|
||||
pic_order_cnt_type:int=0 # ue(v)
|
||||
log2_max_pic_order_cnt_lsb_minus4:int=0 # ue(v)
|
||||
delta_pic_order_always_zero_flag:bool=False # ue(1)
|
||||
delta_pic_order_always_zero_flag:bool=False # ue(1)
|
||||
offset_for_non_ref_pic:int=0 # se(v)
|
||||
offset_for_top_to_bottom_field:int=0 # se(v)
|
||||
num_ref_frames_in_pic_order_cnt_cycle:int=0 # ue(v)
|
||||
offset_for_ref_frame:dict[int] = field(default_factory=dict)
|
||||
offset_for_ref_frame:dict[int,int] = field(default_factory=dict)
|
||||
max_num_ref_frames:int=9 # ue(v)
|
||||
gaps_in_frame_num_value_allowed_flag:bool=False # u(1)
|
||||
gaps_in_frame_num_value_allowed_flag:bool=False # u(1)
|
||||
pic_width_in_mbs_minus1:int=0 # ue(v)
|
||||
pic_height_in_map_units_minus1:int=0 # ue(v)
|
||||
frame_mbs_only_flag:bool=False # u(1)
|
||||
mb_adaptive_frame_field_flag:bool=False # u(1)
|
||||
direct_8x8_inference_flag:bool=False # u(1)
|
||||
frame_cropping_flag:bool=False # u(1)
|
||||
frame_mbs_only_flag:bool=False # u(1)
|
||||
mb_adaptive_frame_field_flag:bool=False # u(1)
|
||||
direct_8x8_inference_flag:bool=False # u(1)
|
||||
frame_cropping_flag:bool=False # u(1)
|
||||
frame_crop_left_offset:int=0 # ue(v)
|
||||
frame_crop_right_offset:int=0 # ue(v)
|
||||
frame_crop_top_offset:int=0 # ue(v)
|
||||
frame_crop_bottom_offset:int=0 # ue(v)
|
||||
vui_parameters_present_flag:bool=False # u(1)
|
||||
vui:VUI=None # VUI object
|
||||
vui_parameters_present_flag:bool=False # u(1)
|
||||
vui:VUI|None=None # VUI object
|
||||
|
||||
def __init__(self):
|
||||
self.scaling_list={}
|
||||
|
||||
Reference in New Issue
Block a user