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.
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.\"
.\" .
.\" .
.TH "hedgewars" "6" "" "hedgewars" ""
.SH "NAME"
Hedgewars \- a free turn based strategy game
.SH "SYNOPSIS"
.
.B hedgewars
[\fIOPTION\fR...]
[\fICONNECTSTRING\fR]
.
.SH "DESCRIPTION"
Each player controls a team of several hedgehogs. During the course of the game, players take turns with one of their hedgehogs. They then use whatever tools and weapons are available to attack and kill the opponents' hedgehogs, thereby winning the game. Hedgehogs may move around the terrain in a variety of ways, normally by walking and jumping but also by using particular tools such as the "Rope" or "Parachute", to move to otherwise inaccessible areas. Each turn is time\-limited to ensure that players do not hold up the game with excessive thinking or moving.
.SH "OPTIONS"
.
.TP
\fB\-\-help\fR
Displays help and exits
.TP
\fB\-\-config-dir=PATH\fR
Custom path for configuration data and user data
.TP
\fB\-\-data-dir=PATH\fR
Custom path to the game data folder
.SH "CONNECTSTRING"
.
If a CONNECTSTRING (e.g. "hwplay://netserver.hedgewars.org") is supplied, then hedgewars will try to connect to the specified destination on start.
.
.SH "COPYRIGHT"
.
Copyright \(co 2004\-2015 Andrey Korotaev, Igor Ulyanov
.br
This is Free Software; this software is licensed under the GPL version 2, as published by the Free Software Foundation.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.