Lines Matching refs:nal
35 #define IS_IRAP_NAL(nal) (nal->type >= 16 && nal->type <= 23)
36 #define IS_IDR_NAL(nal) (nal->type == HEVC_NAL_IDR_W_RADL || nal->type == HEVC_NAL_IDR_N_LP)
53 static int hevc_parse_slice_header(AVCodecParserContext *s, H2645NAL *nal,
59 GetBitContext *gb = &nal->gb;
70 if (IS_IRAP_NAL(nal)) {
155 if (!IS_IDR_NAL(nal)) {
158 ff_hevc_compute_poc(ps->sps, ctx->pocTid0, pic_order_cnt_lsb, nal->type);
162 if (nal->temporal_id == 0 &&
163 nal->type != HEVC_NAL_TRAIL_N &&
164 nal->type != HEVC_NAL_TSA_N &&
165 nal->type != HEVC_NAL_STSA_N &&
166 nal->type != HEVC_NAL_RADL_N &&
167 nal->type != HEVC_NAL_RASL_N &&
168 nal->type != HEVC_NAL_RADL_R &&
169 nal->type != HEVC_NAL_RASL_R)
204 H2645NAL *nal = &ctx->pkt.nals[i];
205 GetBitContext *gb = &nal->gb;
207 if (nal->nuh_layer_id > 0)
210 switch (nal->type) {
222 ff_hevc_decode_nal_sei(gb, avctx, sei, ps, nal->type);
245 ret = hevc_parse_slice_header(s, nal, avctx);