Ticket #6691: r20802_porting.patch
File r20802_porting.patch, 2.5 KB (added by , 15 years ago) |
---|
-
libs/libmythmpeg2/cpu_accel.c
127 127 } 128 128 #endif /* ARCH_X86 */ 129 129 130 #if defined(ACCEL_DETECT) && ( defined(ARCH_PPC) || defined(ARCH_SPARC))130 #if defined(ACCEL_DETECT) && (ARCH_PPC || ARCH_SPARC) 131 131 #include <signal.h> 132 132 #include <setjmp.h> 133 133 -
libs/libmythtv/RingBuffer.cpp
255 255 else 256 256 { 257 257 lseek(fd2, 0, SEEK_SET); 258 if (HAVE_POSIX_FADVISE)258 #if (HAVE_POSIX_FADVISE) 259 259 posix_fadvise(fd2, 0, 0, POSIX_FADV_SEQUENTIAL); 260 260 #endif 261 261 openAttempts = 0; 262 262 break; 263 263 } -
libs/libmythtv/ThreadedFileWriter.cpp
349 349 { 350 350 if (fd >= 0) 351 351 { 352 if (HAVE_SYNC_FILE_RANGE)352 #if (HAVE_SYNC_FILE_RANGE) 353 353 { 354 354 uint64_t write_position; 355 355 … … 365 365 m_file_sync = write_position; 366 366 } 367 367 } 368 elseif (HAVE_FDATASYNC)368 #elif (HAVE_FDATASYNC) 369 369 fdatasync(fd); 370 else370 #else 371 371 fsync(fd); 372 #endif 372 373 } 373 374 } 374 375 -
filters/greedyhdeint/color.h
1 1 #ifndef _COLOR_H_ 2 2 #define _COLOR_H_ 3 3 4 void (*yv12_to_yuy2)5 (const unsigned char *y_src, int y_src_pitch,6 const unsigned char *u_src, int u_src_pitch,7 const unsigned char *v_src, int v_src_pitch,8 unsigned char *yuy2_map, int yuy2_pitch,9 int width, int height, int progressive);10 11 void (*yuy2_to_yv12)12 (const unsigned char *yuy2_map, int yuy2_pitch,13 unsigned char *y_dst, int y_dst_pitch,14 unsigned char *u_dst, int u_dst_pitch,15 unsigned char *v_dst, int v_dst_pitch,16 int width, int height);17 18 4 void init_yuv_conversion(void); 19 5 20 6 void apply_chroma_filter( uint8_t *data, int stride, int width, int height );