Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 36 lines 1.3 kB view raw
1/* SPDX-License-Identifier: MIT 2 * Copyright (C) 2018 Intel Corp. 3 * 4 * Authors: 5 * Manasi Navare <manasi.d.navare@intel.com> 6 */ 7 8#ifndef DRM_DSC_HELPER_H_ 9#define DRM_DSC_HELPER_H_ 10 11#include <drm/display/drm_dsc.h> 12 13enum drm_dsc_params_type { 14 DRM_DSC_1_2_444, 15 DRM_DSC_1_1_PRE_SCR, /* legacy params from DSC 1.1 */ 16 DRM_DSC_1_2_422, 17 DRM_DSC_1_2_420, 18}; 19 20struct drm_printer; 21 22void drm_dsc_dp_pps_header_init(struct dp_sdp_header *pps_header); 23int drm_dsc_dp_rc_buffer_size(u8 rc_buffer_block_size, u8 rc_buffer_size); 24void drm_dsc_pps_payload_pack(struct drm_dsc_picture_parameter_set *pps_sdp, 25 const struct drm_dsc_config *dsc_cfg); 26void drm_dsc_set_const_params(struct drm_dsc_config *vdsc_cfg); 27void drm_dsc_set_rc_buf_thresh(struct drm_dsc_config *vdsc_cfg); 28int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg, enum drm_dsc_params_type type); 29int drm_dsc_compute_rc_parameters(struct drm_dsc_config *vdsc_cfg); 30u8 drm_dsc_initial_scale_value(const struct drm_dsc_config *dsc); 31u32 drm_dsc_flatness_det_thresh(const struct drm_dsc_config *dsc); 32u32 drm_dsc_get_bpp_int(const struct drm_dsc_config *vdsc_cfg); 33void drm_dsc_dump_config(struct drm_printer *p, int indent, const struct drm_dsc_config *cfg); 34 35#endif /* _DRM_DSC_HELPER_H_ */ 36