Commit 47b45965 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix downscaling by 2 of video on non-ARM devices.

parent e7483d24
......@@ -635,10 +635,12 @@ mblk_t *copy_ycbcrbiplanar_to_true_yuv_with_rotation_and_down_scale_by_2(uint8_t
hasNeon = (android_getCpuFamily() == ANDROID_CPU_FAMILY_ARM && (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON) != 0);
}
#endif
#ifdef __arm__
if (down_scale && !hasNeon) {
ms_error("down scaling by two requires NEON, returning empty block");
return yuv_block;
}
#endif
if (!uFirstvSecond) {
unsigned char* tmp = pict.planes[1];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment