// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "media/gpu/h264_builder.h" #include "base/bits.h" #include "base/notreached.h" #include "media/filters/h26x_annex_b_bitstream_builder.h" namespace media { void BuildPackedH264SPS(H26xAnnexBBitstreamBuilder& bitstream_builder, const H264SPS& sps) { … } void BuildPackedH264PPS(H26xAnnexBBitstreamBuilder& bitstream_builder, const H264SPS& sps, const H264PPS& pps) { … } } // namespace media