mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
radv/video: Remove old VCN and UVD decode implementation
Only ac_video_dec is now used. Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39627>
This commit is contained in:
parent
6aed906410
commit
19a8b7121e
3 changed files with 26 additions and 2203 deletions
|
|
@ -14,7 +14,6 @@
|
|||
#include "ac_gpu_info.h"
|
||||
#include "ac_perfcounter.h"
|
||||
|
||||
#include "ac_uvd_dec.h"
|
||||
#include "ac_vcn_enc.h"
|
||||
#include "radv_constants.h"
|
||||
#include "radv_instance.h"
|
||||
|
|
@ -206,9 +205,6 @@ struct radv_physical_device {
|
|||
unsigned cntl;
|
||||
} vid_dec_reg;
|
||||
enum amd_ip_type vid_decode_ip;
|
||||
uint32_t vid_addr_gfx_mode;
|
||||
struct ac_uvd_stream_handle stream_handle;
|
||||
uint32_t av1_version;
|
||||
rvcn_enc_cmd_t vcn_enc_cmds;
|
||||
enum radv_video_enc_hw_ver enc_hw_ver;
|
||||
uint32_t encoder_interface_version;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -14,12 +14,8 @@
|
|||
#include "radv_event.h"
|
||||
#include "vk_video.h"
|
||||
|
||||
#include "ac_vcn.h"
|
||||
#include "ac_video_dec.h"
|
||||
|
||||
#define VL_MACROBLOCK_WIDTH 16
|
||||
#define VL_MACROBLOCK_HEIGHT 16
|
||||
|
||||
struct radv_physical_device;
|
||||
struct rvcn_sq_var;
|
||||
struct radv_cmd_buffer;
|
||||
|
|
@ -29,10 +25,9 @@ struct radv_cmd_stream;
|
|||
#define RADV_ENC_MAX_RATE_LAYER 4
|
||||
|
||||
#define RADV_BIND_SESSION_CTX 0
|
||||
#define RADV_BIND_DECODER_CTX 1
|
||||
#define RADV_BIND_INTRA_ONLY 2
|
||||
#define RADV_BIND_ENCODE_QP_MAP 3
|
||||
#define RADV_BIND_ENCODE_AV1_CDF_STORE RADV_BIND_DECODER_CTX
|
||||
#define RADV_BIND_ENCODE_AV1_CDF_STORE 1
|
||||
|
||||
#define RADV_ENC_FEEDBACK_STATUS_IDX 10
|
||||
|
||||
|
|
@ -47,11 +42,7 @@ struct radv_vid_mem {
|
|||
struct radv_video_session {
|
||||
struct vk_video_session vk;
|
||||
|
||||
uint32_t stream_handle;
|
||||
unsigned stream_type;
|
||||
bool encode;
|
||||
enum { DPB_MAX_RES = 0, DPB_DYNAMIC_TIER_1, DPB_DYNAMIC_TIER_2, DPB_DYNAMIC_TIER_3 } dpb_type;
|
||||
unsigned db_alignment;
|
||||
|
||||
struct radv_vid_mem sessionctx;
|
||||
struct radv_vid_mem ctx;
|
||||
|
|
@ -60,7 +51,6 @@ struct radv_video_session {
|
|||
|
||||
struct ac_video_dec *dec;
|
||||
|
||||
unsigned dbg_frame_cnt;
|
||||
uint32_t enc_standard;
|
||||
uint32_t enc_wa_flags;
|
||||
uint32_t enc_preset_mode;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue