mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-02-07 12:39:53 +00:00
19 lines
411 B
C++
19 lines
411 B
C++
#ifndef SUNSHINE_CBS_H
|
|
#define SUNSHINE_CBS_H
|
|
|
|
#include "utility.h"
|
|
|
|
struct AVPacket;
|
|
struct AVCodecContext;
|
|
namespace cbs {
|
|
|
|
util::buffer_t<std::uint8_t> read_sps(const AVPacket *packet, int codec_id);
|
|
util::buffer_t<std::uint8_t> make_sps(const AVCodecContext *ctx, int video_format);
|
|
|
|
/**
|
|
* Check if SPS->VUI is present
|
|
*/
|
|
bool validate_sps(const AVPacket *packet, int codec_id);
|
|
} // namespace cbs
|
|
|
|
#endif |