mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 22:40:23 +00:00
hevc: Fix aligned array declarations
(cherry picked from commit d41e10c148
)
This commit is contained in:
parent
5ae972f63b
commit
4dee92f6bc
@ -363,7 +363,7 @@ typedef struct HEVCLocalContext {
|
||||
DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer)[(MAX_PB_SIZE + 7) * EDGE_EMU_BUFFER_STRIDE * 2];
|
||||
/* The extended size between the new edge emu buffer is abused by SAO */
|
||||
DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer2)[(MAX_PB_SIZE + 7) * EDGE_EMU_BUFFER_STRIDE * 2];
|
||||
DECLARE_ALIGNED(32, int16_t, tmp [MAX_PB_SIZE * MAX_PB_SIZE]);
|
||||
DECLARE_ALIGNED(32, int16_t, tmp)[MAX_PB_SIZE * MAX_PB_SIZE];
|
||||
|
||||
int ct_depth;
|
||||
CodingUnit cu;
|
||||
|
@ -91,7 +91,7 @@ static const int8_t transform[32][32] = {
|
||||
90, -90, 88, -85, 82, -78, 73, -67, 61, -54, 46, -38, 31, -22, 13, -4 },
|
||||
};
|
||||
|
||||
DECLARE_ALIGNED(16, const int8_t, ff_hevc_epel_filters[7][4]) = {
|
||||
DECLARE_ALIGNED(16, const int8_t, ff_hevc_epel_filters)[7][4] = {
|
||||
{ -2, 58, 10, -2},
|
||||
{ -4, 54, 16, -2},
|
||||
{ -6, 46, 28, -4},
|
||||
@ -101,7 +101,7 @@ DECLARE_ALIGNED(16, const int8_t, ff_hevc_epel_filters[7][4]) = {
|
||||
{ -2, 10, 58, -2},
|
||||
};
|
||||
|
||||
DECLARE_ALIGNED(16, const int8_t, ff_hevc_qpel_filters[3][16]) = {
|
||||
DECLARE_ALIGNED(16, const int8_t, ff_hevc_qpel_filters)[3][16] = {
|
||||
{ -1, 4,-10, 58, 17, -5, 1, 0, -1, 4,-10, 58, 17, -5, 1, 0},
|
||||
{ -1, 4,-11, 40, 40,-11, 4, -1, -1, 4,-11, 40, 40,-11, 4, -1},
|
||||
{ 0, 1, -5, 17, 58,-10, 4, -1, 0, 1, -5, 17, 58,-10, 4, -1}
|
||||
|
Loading…
Reference in New Issue
Block a user