#pragma once
#include <cstdint>
#include <span>
#include <string>
#include <vector>
namespace smartcut::media {
std::vector<std::uint8_t> make_hevc_rpu_nal(std::span<const std::uint8_t> raw_rpu);
std::vector<std::uint8_t> prepend_hevc_rpu(std::span<const std::uint8_t> access_unit, std::span<const std::uint8_t> raw_rpu);
bool rewrite_dovi_rpu_as_scene_refresh(std::span<const std::uint8_t> annex_b_nal,
                                      std::vector<std::uint8_t>& rewritten,
                                      std::string& error);
}
