Lines Matching refs:ptl
101 struct nal_hevc_profile_tier_level *ptl) in nal_hevc_rbsp_profile_tier_level() argument
106 rbsp_bits(rbsp, 2, &ptl->general_profile_space); in nal_hevc_rbsp_profile_tier_level()
107 rbsp_bit(rbsp, &ptl->general_tier_flag); in nal_hevc_rbsp_profile_tier_level()
108 rbsp_bits(rbsp, 5, &ptl->general_profile_idc); in nal_hevc_rbsp_profile_tier_level()
110 rbsp_bit(rbsp, &ptl->general_profile_compatibility_flag[i]); in nal_hevc_rbsp_profile_tier_level()
111 rbsp_bit(rbsp, &ptl->general_progressive_source_flag); in nal_hevc_rbsp_profile_tier_level()
112 rbsp_bit(rbsp, &ptl->general_interlaced_source_flag); in nal_hevc_rbsp_profile_tier_level()
113 rbsp_bit(rbsp, &ptl->general_non_packed_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
114 rbsp_bit(rbsp, &ptl->general_frame_only_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
115 if (ptl->general_profile_idc == 4 || in nal_hevc_rbsp_profile_tier_level()
116 ptl->general_profile_compatibility_flag[4] || in nal_hevc_rbsp_profile_tier_level()
117 ptl->general_profile_idc == 5 || in nal_hevc_rbsp_profile_tier_level()
118 ptl->general_profile_compatibility_flag[5] || in nal_hevc_rbsp_profile_tier_level()
119 ptl->general_profile_idc == 6 || in nal_hevc_rbsp_profile_tier_level()
120 ptl->general_profile_compatibility_flag[6] || in nal_hevc_rbsp_profile_tier_level()
121 ptl->general_profile_idc == 7 || in nal_hevc_rbsp_profile_tier_level()
122 ptl->general_profile_compatibility_flag[7] || in nal_hevc_rbsp_profile_tier_level()
123 ptl->general_profile_idc == 8 || in nal_hevc_rbsp_profile_tier_level()
124 ptl->general_profile_compatibility_flag[8] || in nal_hevc_rbsp_profile_tier_level()
125 ptl->general_profile_idc == 9 || in nal_hevc_rbsp_profile_tier_level()
126 ptl->general_profile_compatibility_flag[9] || in nal_hevc_rbsp_profile_tier_level()
127 ptl->general_profile_idc == 10 || in nal_hevc_rbsp_profile_tier_level()
128 ptl->general_profile_compatibility_flag[10]) { in nal_hevc_rbsp_profile_tier_level()
129 rbsp_bit(rbsp, &ptl->general_max_12bit_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
130 rbsp_bit(rbsp, &ptl->general_max_10bit_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
131 rbsp_bit(rbsp, &ptl->general_max_8bit_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
132 rbsp_bit(rbsp, &ptl->general_max_422chroma_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
133 rbsp_bit(rbsp, &ptl->general_max_420chroma_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
134 rbsp_bit(rbsp, &ptl->general_max_monochrome_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
135 rbsp_bit(rbsp, &ptl->general_intra_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
136 rbsp_bit(rbsp, &ptl->general_one_picture_only_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
137 rbsp_bit(rbsp, &ptl->general_lower_bit_rate_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
138 if (ptl->general_profile_idc == 5 || in nal_hevc_rbsp_profile_tier_level()
139 ptl->general_profile_compatibility_flag[5] || in nal_hevc_rbsp_profile_tier_level()
140 ptl->general_profile_idc == 9 || in nal_hevc_rbsp_profile_tier_level()
141 ptl->general_profile_compatibility_flag[9] || in nal_hevc_rbsp_profile_tier_level()
142 ptl->general_profile_idc == 10 || in nal_hevc_rbsp_profile_tier_level()
143 ptl->general_profile_compatibility_flag[10]) { in nal_hevc_rbsp_profile_tier_level()
144 rbsp_bit(rbsp, &ptl->general_max_14bit_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
145 rbsp_bits(rbsp, 32, &ptl->general_reserved_zero_33bits); in nal_hevc_rbsp_profile_tier_level()
146 rbsp_bits(rbsp, 33 - 32, &ptl->general_reserved_zero_33bits); in nal_hevc_rbsp_profile_tier_level()
148 rbsp_bits(rbsp, 32, &ptl->general_reserved_zero_34bits); in nal_hevc_rbsp_profile_tier_level()
149 rbsp_bits(rbsp, 34 - 2, &ptl->general_reserved_zero_34bits); in nal_hevc_rbsp_profile_tier_level()
151 } else if (ptl->general_profile_idc == 2 || in nal_hevc_rbsp_profile_tier_level()
152 ptl->general_profile_compatibility_flag[2]) { in nal_hevc_rbsp_profile_tier_level()
153 rbsp_bits(rbsp, 7, &ptl->general_reserved_zero_7bits); in nal_hevc_rbsp_profile_tier_level()
154 rbsp_bit(rbsp, &ptl->general_one_picture_only_constraint_flag); in nal_hevc_rbsp_profile_tier_level()
155 rbsp_bits(rbsp, 32, &ptl->general_reserved_zero_35bits); in nal_hevc_rbsp_profile_tier_level()
156 rbsp_bits(rbsp, 35 - 32, &ptl->general_reserved_zero_35bits); in nal_hevc_rbsp_profile_tier_level()
158 rbsp_bits(rbsp, 32, &ptl->general_reserved_zero_43bits); in nal_hevc_rbsp_profile_tier_level()
159 rbsp_bits(rbsp, 43 - 32, &ptl->general_reserved_zero_43bits); in nal_hevc_rbsp_profile_tier_level()
161 if ((ptl->general_profile_idc >= 1 && ptl->general_profile_idc <= 5) || in nal_hevc_rbsp_profile_tier_level()
162 ptl->general_profile_idc == 9 || in nal_hevc_rbsp_profile_tier_level()
163 ptl->general_profile_compatibility_flag[1] || in nal_hevc_rbsp_profile_tier_level()
164 ptl->general_profile_compatibility_flag[2] || in nal_hevc_rbsp_profile_tier_level()
165 ptl->general_profile_compatibility_flag[3] || in nal_hevc_rbsp_profile_tier_level()
166 ptl->general_profile_compatibility_flag[4] || in nal_hevc_rbsp_profile_tier_level()
167 ptl->general_profile_compatibility_flag[5] || in nal_hevc_rbsp_profile_tier_level()
168 ptl->general_profile_compatibility_flag[9]) in nal_hevc_rbsp_profile_tier_level()
169 rbsp_bit(rbsp, &ptl->general_inbld_flag); in nal_hevc_rbsp_profile_tier_level()
171 rbsp_bit(rbsp, &ptl->general_reserved_zero_bit); in nal_hevc_rbsp_profile_tier_level()
172 rbsp_bits(rbsp, 8, &ptl->general_level_idc); in nal_hevc_rbsp_profile_tier_level()