Commit af630314 authored by Laurent Aimar's avatar Laurent Aimar

Increase the number of video/sub buffer.

Only if OPTIMIZE_MEMORY is not defined.
If allows better performance at the expense of memory.
parent 007185b1
......@@ -148,14 +148,26 @@
/* Video heap size - remember that a decompressed picture is big
* (~1 Mbyte) before using huge values */
#define VOUT_MAX_PICTURES 8
#ifdef OPTIMIZE_MEMORY
# define VOUT_MAX_PICTURES 8
#else
# define VOUT_MAX_PICTURES 16
#endif
/* Minimum number of direct pictures the video output will accept without
* creating additional pictures in system memory */
#define VOUT_MIN_DIRECT_PICTURES 6
#ifdef OPTIMIZE_MEMORY
# define VOUT_MIN_DIRECT_PICTURES 6
#else
# define VOUT_MIN_DIRECT_PICTURES 12
#endif
/* Number of simultaneous subpictures */
#define VOUT_MAX_SUBPICTURES 8
#ifdef OPTIMIZE_MEMORY
# define VOUT_MAX_SUBPICTURES 8
#else
# define VOUT_MAX_SUBPICTURES 16
#endif
/* Statistics are displayed every n loops (=~ pictures) */
#define VOUT_STATS_NB_LOOPS 100
......
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