ChapterForge
Loading...
Searching...
No Matches
jpeg_entry_builder.hpp
Go to the documentation of this file.
1//
2// jpeg_entry_builder.hpp
3// ChapterForge
4//
5// Created by Till Toenshoff on 12/9/25.
6// Copyright © 2025 Till Toenshoff. All rights reserved.
7//
8
9#pragma once
10#include <memory>
11
12#include "mp4_atoms.hpp"
13
14// Build an stsd with a single JPEG sample entry, using the provided display width/height for the
15// sample entry fields.
16std::unique_ptr<Atom> build_stsd_jpeg(uint16_t width, uint16_t height);
std::unique_ptr< Atom > build_stsd_jpeg(uint16_t width, uint16_t height)