blob: afefaeab9bf942493445e8ad08f8f5c878a77c28 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_MEDIA_DRIVERS_AMLOGIC_DECODER_H264_UTILS_H_
#define SRC_MEDIA_DRIVERS_AMLOGIC_DECODER_H264_UTILS_H_
#include <cstdint>
#include <vector>
#include <fbl/span.h>
std::vector<std::vector<uint8_t>> SplitNalUnits(const uint8_t* start_data, uint32_t size);
uint8_t GetNalUnitType(fbl::Span<const uint8_t> nal_unit);
#endif // SRC_MEDIA_DRIVERS_AMLOGIC_DECODER_H264_UTILS_H_