WinGui: Couple of cosmetic fixes / minor improvements. 

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5856 b64f7644-9d1e-0410-96f1-a4d463321fa5
Denoise (hqdn3d) optimizations.

Based on http://git.libav.org/?p=libav.git;a=commit;h=85e228c by Loren Merritt.

Patch by BradleyS. Thanks!



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5857 b64f7644-9d1e-0410-96f1-a4d463321fa5
Denoise (hqdn3d) performance improvements.

Based on http://git.libav.org/?p=libav.git;a=commit;h=0f583e6 by Loren Merritt.

Patch by BradleyS. Thanks!



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5858 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix compiler warnings
unused variables in denoise.c


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5859 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix "missing start code" error message when encoding BD
CC subtitles which are embedded in the video stream have an id
of 0 assigned.  We should ignore these when setting up the PID
filter list since they do not use an independent PID.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5860 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix double hb_buffer_close
Don't close a list of buffers then also close the last item in the list :-\


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5861 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix another case of spurious "missing start code" messages
I have a poorly mastered BD that does not pad the adaptation field
of the PCR PID properly.  Since these packets are only used to extract
the PCR, we can drop them early before the code that would generate
these error messages.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5862 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix BD audio detection problem
BDs can (and occasionally do) have different audio stream types in
different clips that compose a playlist.  We try to pick the audios that
appear in the most clips, but this breaks down when there are only 2
clips to choose from.  So in the case of only 2 clips, choose audio
from the longest clip.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5863 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix problem with SSA render when muxer is avformat


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5864 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fixed an issue with the Queue toolbar where resizing the widow to a smaller side made the toolbar hide the buttons in the dropdown.
Added new icons for "Folder" and "Copy" based on the current style.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5865 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Changed the Source Menu file icon to something that scales down a bit better.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5866 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Update the video preview window icon. Was using the wrong one.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5867 b64f7644-9d1e-0410-96f1-a4d463321fa5
Push 2 new folder/file icons into the main gfx folder.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5868 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGUI: refactor PictureController. kill a bit of dead code (~500 lines), switch some ivars to properties, hide the private methods and rework the deinterlace logic. Plus UI alignment.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5869 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: initial work on a new OpenCl wrapper, which will eventually phase out the existing one.

Based on an x264 patch by Anton Mitrofanov.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5870 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: fix an issue where the value of the H.264 level and profile widgets was used even though the advanced panel was enabled (and thus the widgets were disabled and not settable by the user).



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5871 b64f7644-9d1e-0410-96f1-a4d463321fa5
fix a52dec and mpeg2dec duplicate symbols w/ OSX 10.9 SDK

- disable AC_C_ALWAYS_INLINE for a52dec (patch activates on darwin only)
- disable AC_C_ALWAYS_INLINE for mpeg2dec (patch activates on darwin only)
- enable mpeg2dec autoreconf (darwin only)


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5872 b64f7644-9d1e-0410-96f1-a4d463321fa5