summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/libavcodec/arm/h264cmc_neon.S
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavcodec/arm/h264cmc_neon.S')
-rw-r--r--chromium/third_party/ffmpeg/libavcodec/arm/h264cmc_neon.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/third_party/ffmpeg/libavcodec/arm/h264cmc_neon.S b/chromium/third_party/ffmpeg/libavcodec/arm/h264cmc_neon.S
index 112d5d6f862..0bcae112042 100644
--- a/chromium/third_party/ffmpeg/libavcodec/arm/h264cmc_neon.S
+++ b/chromium/third_party/ffmpeg/libavcodec/arm/h264cmc_neon.S
@@ -39,6 +39,9 @@ function ff_\type\()_\codec\()_chroma_mc8_neon, export=1
add r6, r6, r7, lsl #1
vld1.16 {d22[],d23[]}, [r6,:16]
.endif
+ .ifc \codec,vc1
+ vmov.u16 q11, #28
+ .endif
A muls r7, r4, r5
T mul r7, r4, r5
@@ -183,6 +186,9 @@ function ff_\type\()_\codec\()_chroma_mc4_neon, export=1
add r6, r6, r7, lsl #1
vld1.16 {d22[],d23[]}, [r6,:16]
.endif
+ .ifc \codec,vc1
+ vmov.u16 q11, #28
+ .endif
A muls r7, r4, r5
T mul r7, r4, r5
@@ -396,3 +402,10 @@ endconst
h264_chroma_mc4 put, rv40
h264_chroma_mc4 avg, rv40
#endif
+
+#if CONFIG_VC1_DECODER
+ h264_chroma_mc8 put, vc1
+ h264_chroma_mc8 avg, vc1
+ h264_chroma_mc4 put, vc1
+ h264_chroma_mc4 avg, vc1
+#endif