summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-07-12 16:51:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-19 15:27:08 +0200
commit7a4a5515b0ce97f1c4e18ed012cc3f86328dd220 (patch)
tree222f6cfbd9ee88af6daa4841d9110b42e2669d48 /libavcodec/hevc.h
parent8da1defe6986aab8506203c6e12f44d4df62672e (diff)
hevc: use intreadwrite
When dealing with MVs, both components may be processed at a time. On Win64, 560 to 539 cycles for derive_spatial_merge_candidates. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index c38de1a2ea..a1e2e8469e 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -661,7 +661,7 @@ typedef struct Mv {
} Mv;
typedef struct MvField {
- Mv mv[2];
+ DECLARE_ALIGNED(4, Mv, mv)[2];
int8_t ref_idx[2];
int8_t pred_flag;
} MvField;