aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/h264pred_init_arm.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-24 17:57:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-24 17:57:40 +0200
commit565cabf5c80b25d86c2e539afcb3b24024fbce0a (patch)
tree812b2949f76edd06a4740f5b8cc7e6c2c1bc46b3 /libavcodec/arm/h264pred_init_arm.c
parent5f5e37e0fa02de2fbe7b873d1d937699a2da3988 (diff)
downloadffmpeg-565cabf5c80b25d86c2e539afcb3b24024fbce0a.tar.gz
h264: Try to fix 422 intra NEON
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/arm/h264pred_init_arm.c')
-rw-r--r--libavcodec/arm/h264pred_init_arm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/arm/h264pred_init_arm.c b/libavcodec/arm/h264pred_init_arm.c
index 4c5758d3f7..75653ff7a5 100644
--- a/libavcodec/arm/h264pred_init_arm.c
+++ b/libavcodec/arm/h264pred_init_arm.c
@@ -48,7 +48,7 @@ static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int b
if (high_depth)
return;
-
+ if(chroma_format_idc == 1){
h->pred8x8[VERT_PRED8x8 ] = ff_pred8x8_vert_neon;
h->pred8x8[HOR_PRED8x8 ] = ff_pred8x8_hor_neon;
if (codec_id != CODEC_ID_VP8)
@@ -63,6 +63,7 @@ static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int b
h->pred8x8[ALZHEIMER_DC_L00_PRED8x8] = ff_pred8x8_l00_dc_neon;
h->pred8x8[ALZHEIMER_DC_0L0_PRED8x8] = ff_pred8x8_0l0_dc_neon;
}
+ }
h->pred16x16[DC_PRED8x8 ] = ff_pred16x16_dc_neon;
h->pred16x16[VERT_PRED8x8 ] = ff_pred16x16_vert_neon;