Move pixel format conversion from uVideoRec to AVWrapper
This has several benefits, being in C-land allows us to better use
libav API and avoid mixing memory allocated from Pascal. Also the C
code for the conversion loop generated by GCC or Clang is probably more
optimized than by Freepascal. Finally it will simplify code in the
future if we are going to enable any other pixel format than yuv420p.
Change the coefficients to improve color accuracy during conversion.
glob:CMakeCache.txt
glob:CMakeFiles
glob:moc_*.cxx
glob:qrc_*.cxx
glob:*.o
glob:*.a
glob:*.qm
glob:Makefile
glob:bin
glob:*.hi
glob:*.ppu
glob:*.*~
glob:*.core
glob:hedgewars.pro.user
glob:config.inc
glob:cmake_install.cmake
glob:QTfrontend/hwconsts.cpp
glob:QTfrontend/servermessages.h
glob:CPackConfig.cmake
glob:CPackSourceConfig.cmake
glob:tools/cmake_uninstall.cmake
glob:install_manifest.txt
glob:.DS_Store
glob:*.swp
glob:*.orig
glob:vittorio.*
glob:project_files/HedgewarsMobile/Data/
glob:project_files/HedgewarsMobile/Build/
glob:gameServer/dist/
glob:misc/liblua/Xcode/build/
glob:misc/libphysfs/Xcode/build/
glob:misc/libphyslayer/Xcode/build/
glob:moc_*.cxx_parameters
relre:^release\/
glob:*.log
glob:*.cmd
glob:*.patch
glob:*.orig
glob:*.bak
glob:*.rej
glob:project_files/hwc/*.c
glob:project_files/hwc/*.h
glob:project_files/Android-build/SDL-android-project/jni/**
glob:project_files/Android-build/SDL-android-project/obj
glob:project_files/Android-build/SDL-android-project/libs/armeabi*
glob:project_files/Android-build/SDL-android-project/bin
glob:project_files/Android-build/SDL-android-project/gen
glob:project_files/Android-build/SDL-android-project/local.properties
glob:project_files/Android-build/SDL-android-project/project.properties
glob:project_files/Android-build/SDL-android-project/default.properties
glob:project_files/Android-build/SDL-android-project/proguard.cfg
glob:project_files/Android-build/SDL-android-project/.*
glob:project_files/Android-build/out
glob:project_files/Android-build/Makefile.android
glob:hedgewars-build-desktop-Qt*
glob:hedgewars-build-desktop-Qt*
glob:*.depends
glob:tools/build_windows_koda.bat
glob:share/hedgewars/Data/misc/hwengine.desktop
glob:*.exe
glob:_CPack_Packages/
glob:version_info.txt
glob:*.tar.*
glob:*.or
glob:*.res
glob:Hedgewars.app/*
glob:tools/CreateMacBundle.cmake
glob:share/Info.plist
glob:CTestTestfile.cmake
glob:arch.c
glob:*.swp
glob:*~.nib
glob:*.pbxuser
glob:*.perspective
glob:*.perspectivev3
glob:*.project.xcworkspace
glob:*.xcuserdata
glob:xcuserdata
glob:*.mode1v3
glob:*.mode2v3