• Home
  • Raw
  • Download

Lines Matching refs:nal

492         H2645NAL *nal = &h->pkt.nals[i];  in get_last_needed_nal()  local
499 switch (nal->type) { in get_last_needed_nal()
507 ret = init_get_bits8(&gb, nal->data + 1, nal->size - 1); in get_last_needed_nal()
517 first_slice != nal->type) in get_last_needed_nal()
520 first_slice = nal->type; in get_last_needed_nal()
594 H2645NAL *nal = &h->pkt.nals[i]; in decode_nal_units() local
598 nal->ref_idc == 0 && nal->type != H264_NAL_SEI) in decode_nal_units()
602 h->nal_ref_idc = nal->ref_idc; in decode_nal_units()
603 h->nal_unit_type = nal->type; in decode_nal_units()
606 switch (nal->type) { in decode_nal_units()
608 if ((nal->data[1] & 0xFC) == 0x98) { in decode_nal_units()
622 if ((err = ff_h264_queue_decode_slice(h, nal))) { in decode_nal_units()
643 ret = avctx->hwaccel->decode_slice(avctx, nal->raw_data, nal->raw_size); in decode_nal_units()
657 ret = ff_h264_sei_decode(&h->sei, &nal->gb, &h->ps, avctx); in decode_nal_units()
665 GetBitContext tmp_gb = nal->gb; in decode_nal_units()
668 nal->type, in decode_nal_units()
669 nal->raw_data, in decode_nal_units()
670 nal->raw_size); in decode_nal_units()
678 init_get_bits8(&tmp_gb, nal->raw_data + 1, nal->raw_size - 1); in decode_nal_units()
681 ff_h264_decode_seq_parameter_set(&nal->gb, avctx, &h->ps, 1); in decode_nal_units()
687 nal->type, in decode_nal_units()
688 nal->raw_data, in decode_nal_units()
689 nal->raw_size); in decode_nal_units()
693 ret = ff_h264_decode_picture_parameter_set(&nal->gb, avctx, &h->ps, in decode_nal_units()
694 nal->size_bits); in decode_nal_units()
707 nal->type, nal->size_bits); in decode_nal_units()