Simplify: use memcpy_pic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36590 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Switch to modern VOCTRL_DRAW_IMAGE API.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36591 b3059339-0415-0410-9bf9-f77b7e298cf2
Do not needlessly request chroma.

In addition to avoid wasting CPU time, this potentially
avoids issues with odd-sized resolutions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36592 b3059339-0415-0410-9bf9-f77b7e298cf2
Fix video size < blinkenlights size again.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36593 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Fix crashes on error.

In particular, -vo bl:grayscale with a too large
video would cause crashes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36594 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Fix a memleak


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36595 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Deobfuscate, use strdup.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36596 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: move assignment to a place where it actuall has an effect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36597 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: after close reset to NULL/-1.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36598 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: remove pointless casts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36599 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Use snprintf.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36600 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Move variables into blocks that use them.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36601 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Use strcspn


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36602 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Simplify parser, reduce code duplication.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36603 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Do memory allocation only in one place.

This avoids duplicating code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36604 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: minor simplification of size reinit case.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36605 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: cosmetics, reindent.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36606 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Simplify/avoid duplicating size calculations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36607 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: Simplify realloc + memset to calloc.

Also remove a condition that obviously cannot be true.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36608 b3059339-0415-0410-9bf9-f77b7e298cf2
vo_bl: consistently multiply by "channels".

Currently makes no difference since it is always 1.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36609 b3059339-0415-0410-9bf9-f77b7e298cf2