more arm fixes

This commit is contained in:
nucleo 2013-07-27 13:37:47 +03:00
parent 16195623df
commit 9c6ee76d22

View file

@ -61,3 +61,21 @@
void deinterlace_down_scale_neon(uint8_t* ysrc, uint8_t* cbcrsrc, uint8_t* ydst, uint8_t* u_dst, uint8_t* v_dst, int w, int h, int y_byte_per_row,int cbcr_byte_per_row,bool_t down_scale) {
#ifdef __ARM_NEON__
--- linphone-3.6.1/mediastreamer2/src/voip/videostream.c 2013-06-14 18:21:26.654950046 +0300
+++ linphone-3.6.1/mediastreamer2/src/voip/videostream.c 2013-07-27 13:36:17.176984897 +0300
@@ -223,6 +223,7 @@
return wished_size;
}
+#ifndef __arm__
static MSVideoSize get_with_same_orientation(MSVideoSize size, MSVideoSize refsize){
if (ms_video_size_get_orientation(refsize)!=ms_video_size_get_orientation(size)){
int tmp;
@@ -232,6 +233,7 @@
}
return size;
}
+#endif
static void configure_video_source(VideoStream *stream){
MSVideoSize vsize,cam_vsize;