ac,radeonsi: move vcn enc av1 default cdf file to common
authorDave Airlie <airlied@redhat.com>
Tue, 27 Jun 2023 05:24:08 +0000 (15:24 +1000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 14 Sep 2023 07:51:24 +0000 (07:51 +0000)
This can be used by radv.

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25196>

src/amd/common/ac_vcn_enc_av1_default_cdf.h [moved from src/gallium/drivers/radeonsi/radeon_vcn_enc_av1_default_cdf.h with 99% similarity]
src/gallium/drivers/radeonsi/meson.build
src/gallium/drivers/radeonsi/radeon_vcn_enc.c

@@ -1,5 +1,5 @@
-#ifndef _RADEON_VCN_ENC_AV1_DEFAULT_CDF_H
-#define _RADEON_VCN_ENC_AV1_DEFAULT_CDF_H
+#ifndef _AC_VCN_ENC_AV1_DEFAULT_CDF_H
+#define _AC_VCN_ENC_AV1_DEFAULT_CDF_H
 
 #define VCN_ENC_AV1_DEFAULT_CDF_SIZE  (81920)
 
index 13aa594..bf4ea47 100644 (file)
@@ -97,7 +97,6 @@ files_libradeonsi = files(
   'radeon_vcn_enc_2_0.c',
   'radeon_vcn_enc_3_0.c',
   'radeon_vcn_enc_4_0.c',
-  'radeon_vcn_enc_av1_default_cdf.h',
   'radeon_video.c',
   'radeon_video.h',
 )
index 2e2448a..1e70cae 100644 (file)
@@ -7,7 +7,7 @@
  **************************************************************************/
 
 #include "radeon_vcn_enc.h"
-#include "radeon_vcn_enc_av1_default_cdf.h"
+#include "ac_vcn_enc_av1_default_cdf.h"
 
 #include "pipe/p_video_codec.h"
 #include "radeon_video.h"