#include "mod_info_packet.h"
#include "core_types.h"
#include "dc_types.h"
#include "mod_shared.h"
#include "mod_freesync.h"
#include "dc.h"
enum vsc_packet_revision { … };
#define HDMI_INFOFRAME_TYPE_VENDOR …
#define HF_VSIF_VERSION …
#define VTEM_PB0 …
#define VTEM_PB1 …
#define VTEM_PB2 …
#define VTEM_PB3 …
#define VTEM_PB4 …
#define VTEM_PB5 …
#define VTEM_PB6 …
#define VTEM_MD0 …
#define VTEM_MD1 …
#define VTEM_MD2 …
#define VTEM_MD3 …
#define MASK_VTEM_PB0__RESERVED0 …
#define MASK_VTEM_PB0__SYNC …
#define MASK_VTEM_PB0__VFR …
#define MASK_VTEM_PB0__AFR …
#define MASK_VTEM_PB0__DS_TYPE …
#define MASK_VTEM_PB0__END …
#define MASK_VTEM_PB0__NEW …
#define MASK_VTEM_PB1__RESERVED1 …
#define MASK_VTEM_PB2__ORGANIZATION_ID …
#define MASK_VTEM_PB3__DATA_SET_TAG_MSB …
#define MASK_VTEM_PB4__DATA_SET_TAG_LSB …
#define MASK_VTEM_PB5__DATA_SET_LENGTH_MSB …
#define MASK_VTEM_PB6__DATA_SET_LENGTH_LSB …
#define MASK_VTEM_MD0__VRR_EN …
#define MASK_VTEM_MD0__M_CONST …
#define MASK_VTEM_MD0__QMS_EN …
#define MASK_VTEM_MD0__RESERVED2 …
#define MASK_VTEM_MD0__FVA_FACTOR_M1 …
#define MASK_VTEM_MD1__BASE_VFRONT …
#define MASK_VTEM_MD2__BASE_REFRESH_RATE_98 …
#define MASK_VTEM_MD2__RB …
#define MASK_VTEM_MD2__NEXT_TFR …
#define MASK_VTEM_MD3__BASE_REFRESH_RATE_07 …
enum ColorimetryRGBDP { … };
enum ColorimetryYCCDP { … };
void mod_build_vsc_infopacket(const struct dc_stream_state *stream,
struct dc_info_packet *info_packet,
enum dc_color_space cs,
enum color_transfer_func tf)
{ … }
void mod_build_hf_vsif_infopacket(const struct dc_stream_state *stream,
struct dc_info_packet *info_packet)
{ … }
void mod_build_adaptive_sync_infopacket(const struct dc_stream_state *stream,
enum adaptive_sync_type asType,
const struct AS_Df_params *param,
struct dc_info_packet *info_packet)
{ … }
void mod_build_adaptive_sync_infopacket_v1(struct dc_info_packet *info_packet)
{ … }
void mod_build_adaptive_sync_infopacket_v2(const struct dc_stream_state *stream,
const struct AS_Df_params *param,
struct dc_info_packet *info_packet)
{ … }