mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
radeonsi: Remove unused radeon_temporal.h
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30927>
This commit is contained in:
parent
c43f8cb0b9
commit
96f3daeaeb
3 changed files with 0 additions and 215 deletions
|
|
@ -75,7 +75,6 @@ files_libradeonsi = files(
|
||||||
'si_vpe.c',
|
'si_vpe.c',
|
||||||
'si_vpe.h',
|
'si_vpe.h',
|
||||||
'pspdecryptionparam.h',
|
'pspdecryptionparam.h',
|
||||||
'radeon_temporal.h',
|
|
||||||
'radeon_uvd.c',
|
'radeon_uvd.c',
|
||||||
'radeon_uvd.h',
|
'radeon_uvd.h',
|
||||||
'radeon_uvd_enc.c',
|
'radeon_uvd_enc.c',
|
||||||
|
|
|
||||||
|
|
@ -1,213 +0,0 @@
|
||||||
/**************************************************************************
|
|
||||||
*
|
|
||||||
* Copyright 2021 Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: MIT
|
|
||||||
*
|
|
||||||
**************************************************************************/
|
|
||||||
|
|
||||||
#ifndef _RADEON_TEMPORAL_H
|
|
||||||
#define _RADEON_TEMPORAL_H
|
|
||||||
|
|
||||||
#include "radeon_video.h"
|
|
||||||
#include "radeon_vcn_enc.h"
|
|
||||||
|
|
||||||
#define RENCODE_MAX_TEMPORAL_LAYER_PATTERN_SIZE 9
|
|
||||||
|
|
||||||
typedef struct rvcn_temporal_layer_pattern_entry_s
|
|
||||||
{
|
|
||||||
unsigned temporal_id;
|
|
||||||
unsigned reference_index_in_table;
|
|
||||||
bool reference_modification;
|
|
||||||
unsigned frame_num_offset;
|
|
||||||
unsigned poc_offset;
|
|
||||||
bool mark_as_reference;
|
|
||||||
} rvcn_temporal_layer_pattern_entry_t;
|
|
||||||
|
|
||||||
typedef struct rvcn_temporal_layer_pattern_table_s
|
|
||||||
{
|
|
||||||
unsigned pattern_size;
|
|
||||||
rvcn_temporal_layer_pattern_entry_t pattern_table[RENCODE_MAX_TEMPORAL_LAYER_PATTERN_SIZE];
|
|
||||||
} rvcn_temporal_layer_pattern_table_t;
|
|
||||||
|
|
||||||
static const rvcn_temporal_layer_pattern_table_t rvcn_temporal_layer_pattern_tables[RENCODE_MAX_NUM_TEMPORAL_LAYERS] =
|
|
||||||
{
|
|
||||||
/* 1 temporal layer */
|
|
||||||
{
|
|
||||||
2, /* temporal layer pattern size */
|
|
||||||
{
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
/* 2 temporal layers */
|
|
||||||
{
|
|
||||||
3, /* temporal layer pattern size */
|
|
||||||
{
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
1,
|
|
||||||
4,
|
|
||||||
true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
/* 3 temporal layers */
|
|
||||||
{
|
|
||||||
5, /* temporal layer pattern size */
|
|
||||||
{
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
2,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
1,
|
|
||||||
4,
|
|
||||||
true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
2,
|
|
||||||
2,
|
|
||||||
false,
|
|
||||||
2,
|
|
||||||
6,
|
|
||||||
false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
true,
|
|
||||||
2,
|
|
||||||
8,
|
|
||||||
true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
/* 4 temporal layers */
|
|
||||||
{
|
|
||||||
9, /* temporal layer pattern size */
|
|
||||||
{
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
3,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
2,
|
|
||||||
0,
|
|
||||||
false,
|
|
||||||
1,
|
|
||||||
4,
|
|
||||||
true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
3,
|
|
||||||
2,
|
|
||||||
false,
|
|
||||||
2,
|
|
||||||
6,
|
|
||||||
false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
true,
|
|
||||||
2,
|
|
||||||
8,
|
|
||||||
true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
3,
|
|
||||||
4,
|
|
||||||
false,
|
|
||||||
3,
|
|
||||||
10,
|
|
||||||
false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
2,
|
|
||||||
4,
|
|
||||||
false,
|
|
||||||
3,
|
|
||||||
12,
|
|
||||||
true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
3,
|
|
||||||
6,
|
|
||||||
false,
|
|
||||||
4,
|
|
||||||
14,
|
|
||||||
false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
true,
|
|
||||||
4,
|
|
||||||
16,
|
|
||||||
true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // _RADEON_TEMPORAL_H
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
#include "pipe/p_video_codec.h"
|
#include "pipe/p_video_codec.h"
|
||||||
#include "radeon_vcn_enc.h"
|
#include "radeon_vcn_enc.h"
|
||||||
#include "radeon_video.h"
|
#include "radeon_video.h"
|
||||||
#include "radeon_temporal.h"
|
|
||||||
#include "si_pipe.h"
|
#include "si_pipe.h"
|
||||||
#include "util/u_video.h"
|
#include "util/u_video.h"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue