• Home
  • Raw
  • Download

Lines Matching refs:nal

500         H2645NAL *nal = &h->pkt.nals[i];  in get_last_needed_nal()  local
507 switch (nal->type) { in get_last_needed_nal()
515 ret = init_get_bits8(&gb, nal->data + 1, nal->size - 1); in get_last_needed_nal()
525 first_slice != nal->type) in get_last_needed_nal()
536 first_slice = nal->type; in get_last_needed_nal()
612 H2645NAL *nal = &h->pkt.nals[i]; in decode_nal_units() local
616 nal->ref_idc == 0 && nal->type != H264_NAL_SEI) in decode_nal_units()
620 h->nal_ref_idc = nal->ref_idc; in decode_nal_units()
621 h->nal_unit_type = nal->type; in decode_nal_units()
624 switch (nal->type) { in decode_nal_units()
626 if ((nal->data[1] & 0xFC) == 0x98) { in decode_nal_units()
640 if ((err = ff_h264_queue_decode_slice(h, nal))) { in decode_nal_units()
661 ret = avctx->hwaccel->decode_slice(avctx, nal->raw_data, nal->raw_size); in decode_nal_units()
679 ret = ff_h264_sei_decode(&h->sei, &nal->gb, &h->ps, avctx); in decode_nal_units()
687 GetBitContext tmp_gb = nal->gb; in decode_nal_units()
690 nal->type, in decode_nal_units()
691 nal->raw_data, in decode_nal_units()
692 nal->raw_size); in decode_nal_units()
700 init_get_bits8(&tmp_gb, nal->raw_data + 1, nal->raw_size - 1); in decode_nal_units()
703 ff_h264_decode_seq_parameter_set(&nal->gb, avctx, &h->ps, 1); in decode_nal_units()
709 nal->type, in decode_nal_units()
710 nal->raw_data, in decode_nal_units()
711 nal->raw_size); in decode_nal_units()
715 ret = ff_h264_decode_picture_parameter_set(&nal->gb, avctx, &h->ps, in decode_nal_units()
716 nal->size_bits); in decode_nal_units()
729 nal->type, nal->size_bits); in decode_nal_units()