Remove pointless wsWindowClear() when setting movie aspect ratio.

The video output driver will rebuild the window anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35821 b3059339-0415-0410-9bf9-f77b7e298cf2
Redefine PACK_RGB16 and PACK_RGB15.

First and third parameter were mixed up
which resulted in confusing calls.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35822 b3059339-0415-0410-9bf9-f77b7e298cf2
Revise some doxygen comments.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35823 b3059339-0415-0410-9bf9-f77b7e298cf2
Relocate #defines and make them functions.

Additionally, add doxygen comments.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35824 b3059339-0415-0410-9bf9-f77b7e298cf2
Relocate #defines and make them enums.

They are only used inside ws.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35825 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: Add cbrt() code to avoid breaking compile with ffmpeg which will need that in a moment.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35826 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove and simplify code.

Remove enums, wsOutMask and wsGetOutMask().
Set out_pix_fmt directly from wsScreenDepth and the ws color masks.
Use out_pix_fmt instead of wsOutMask.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35827 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove pointless parentheses.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35828 b3059339-0415-0410-9bf9-f77b7e298cf2
Also support EVRC in qcp.

Reported by bat guano.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35829 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove setting pointless window attribute CWBackPixel.

This will be set by XSetWindowBackground() later anyway
(and - most likely - to a different color than black).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35830 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Adjust indent.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35831 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove wsWindowClear().

Since it always follows a wsWindowBackground() call, add XClearWindow()
to wsWindowBackground(). wsWindowClear() is obsolete then and can be
removed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35832 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unnecessary wsWindowBackground() calls.

Add a necessary one to the video window's redraw handler.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35833 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: Unset HAVE_DIRECT_H if direct.h is not available.

libdvdcss checks the value of that preprocessor symbol via #ifdef,
so it needs to be explicitly undefined, not set to zero.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35834 b3059339-0415-0410-9bf9-f77b7e298cf2
libdvdcss: Revert r35255, which tried to work around Windows breakage.

The issue is better addressed in configure rather than patching an
upstream library. The previous commit does just that.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35835 b3059339-0415-0410-9bf9-f77b7e298cf2
configure: Drop unused WORDS_BIGENDIAN config.h #define.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35836 b3059339-0415-0410-9bf9-f77b7e298cf2
libmpcodec&libvo: avoid use of DCTELEM as it will disappear from ffmpeg.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35837 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetic: Rename wsImageConvert() wsImageRender().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35838 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unnecessary setting of uiVideoRender.

For the playing state, it's already done in the video window's
redraw handler, and if !guiInfo.Playing, it's true anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35839 b3059339-0415-0410-9bf9-f77b7e298cf2
Add some notes for later checking and fixing.


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