#include "dm_services.h"
#include "virtual_stream_encoder.h"
static void virtual_stream_encoder_dp_set_stream_attribute(
struct stream_encoder *enc,
struct dc_crtc_timing *crtc_timing,
enum dc_color_space output_color_space,
bool use_vsc_sdp_for_colorimetry,
uint32_t enable_sdp_splitting) { … }
static void virtual_stream_encoder_hdmi_set_stream_attribute(
struct stream_encoder *enc,
struct dc_crtc_timing *crtc_timing,
int actual_pix_clk_khz,
bool enable_audio) { … }
static void virtual_stream_encoder_dvi_set_stream_attribute(
struct stream_encoder *enc,
struct dc_crtc_timing *crtc_timing,
bool is_dual_link) { … }
static void virtual_stream_encoder_set_throttled_vcp_size(
struct stream_encoder *enc,
struct fixed31_32 avg_time_slots_per_mtp)
{ … }
static void virtual_stream_encoder_update_hdmi_info_packets(
struct stream_encoder *enc,
const struct encoder_info_frame *info_frame) { … }
static void virtual_stream_encoder_stop_hdmi_info_packets(
struct stream_encoder *enc) { … }
static void virtual_stream_encoder_set_avmute(
struct stream_encoder *enc,
bool enable) { … }
static void virtual_stream_encoder_update_dp_info_packets(
struct stream_encoder *enc,
const struct encoder_info_frame *info_frame) { … }
static void virtual_stream_encoder_stop_dp_info_packets(
struct stream_encoder *enc) { … }
static void virtual_stream_encoder_dp_blank(
struct dc_link *link,
struct stream_encoder *enc) { … }
static void virtual_stream_encoder_dp_unblank(
struct dc_link *link,
struct stream_encoder *enc,
const struct encoder_unblank_param *param) { … }
static void virtual_audio_mute_control(
struct stream_encoder *enc,
bool mute) { … }
static void virtual_stream_encoder_reset_hdmi_stream_attribute(
struct stream_encoder *enc)
{ … }
static void virtual_enc_dp_set_odm_combine(
struct stream_encoder *enc,
bool odm_combine)
{ … }
static void virtual_dig_connect_to_otg(
struct stream_encoder *enc,
int tg_inst)
{ … }
static void virtual_setup_stereo_sync(
struct stream_encoder *enc,
int tg_inst,
bool enable)
{ … }
static void virtual_stream_encoder_set_dsc_pps_info_packet(
struct stream_encoder *enc,
bool enable,
uint8_t *dsc_packed_pps,
bool immediate_update)
{ … }
static const struct stream_encoder_funcs virtual_str_enc_funcs = …;
bool virtual_stream_encoder_construct(
struct stream_encoder *enc,
struct dc_context *ctx,
struct dc_bios *bp)
{ … }
struct stream_encoder *virtual_stream_encoder_create(
struct dc_context *ctx, struct dc_bios *bp)
{ … }