mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avcodec/cavs: Limit align requirement to variable than type
There are another three cavs_vector variables, ff_cavs_dir_mv, ff_cavs_intra_mv and un_mv. They don't need align to 8. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
82c208b653
commit
fe2c9746de
@ -146,7 +146,7 @@ enum cavs_mv_loc {
|
|||||||
MV_BWD_X3
|
MV_BWD_X3
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_ALIGNED(8, typedef, struct) {
|
typedef struct cavs_vector {
|
||||||
int16_t x;
|
int16_t x;
|
||||||
int16_t y;
|
int16_t y;
|
||||||
int16_t dist;
|
int16_t dist;
|
||||||
@ -207,7 +207,7 @@ typedef struct AVSContext {
|
|||||||
D is the macroblock to the top-left (0)
|
D is the macroblock to the top-left (0)
|
||||||
|
|
||||||
the same is repeated for backward motion vectors */
|
the same is repeated for backward motion vectors */
|
||||||
cavs_vector mv[2*4*3];
|
DECLARE_ALIGNED(8, cavs_vector, mv)[2*4*3];
|
||||||
cavs_vector *top_mv[2];
|
cavs_vector *top_mv[2];
|
||||||
cavs_vector *col_mv;
|
cavs_vector *col_mv;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user