Commit d28937e8 authored by Laurent Aimar's avatar Laurent Aimar

Moved VOUT_MIN_DIRECT_PICTURES to src/video_output.

parent 3e356e56
......@@ -150,10 +150,6 @@
* (~1 Mbyte) before using huge values */
#define VOUT_MAX_PICTURES 16
/* Minimum number of direct pictures the video output will accept without
* creating additional pictures in system memory */
#define VOUT_MIN_DIRECT_PICTURES 12
/* Statistics are displayed every n loops (=~ pictures) */
#define VOUT_STATS_NB_LOOPS 100
......
......@@ -106,6 +106,14 @@ static void DisplayTitleOnOSD( vout_thread_t *p_vout );
/* Better be in advance when awakening than late... */
#define VOUT_MWAIT_TOLERANCE ((mtime_t)(0.020*CLOCK_FREQ))
/* Minimum number of direct pictures the video output will accept without
* creating additional pictures in system memory */
#ifdef OPTIMIZE_MEMORY
# define VOUT_MIN_DIRECT_PICTURES (VOUT_MAX_PICTURES/2)
#else
# define VOUT_MIN_DIRECT_PICTURES (3*VOUT_MAX_PICTURES/4)
#endif
/*****************************************************************************
* Video Filter2 functions
*****************************************************************************/
......
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