2002-07-11 18:03:41 +03:00
|
|
|
/*
|
2007-07-05 13:37:29 +03:00
|
|
|
* SVQ1 decoder
|
|
|
|
* ported to MPlayer by Arpi <arpi@thot.banki.hu>
|
|
|
|
* ported to libavcodec by Nick Kurshev <nickols_k@mail.ru>
|
2005-12-17 20:14:38 +02:00
|
|
|
*
|
2002-07-09 19:08:43 +03:00
|
|
|
* Copyright (C) 2002 the xine project
|
2002-07-11 18:03:41 +03:00
|
|
|
* Copyright (C) 2002 the ffmpeg project
|
2005-12-17 20:14:38 +02:00
|
|
|
*
|
2007-07-05 13:37:29 +03:00
|
|
|
* SVQ1 Encoder (c) 2004 Mike Melanson <melanson@pcisys.net>
|
|
|
|
*
|
2006-10-07 18:30:46 +03:00
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2002-07-11 18:03:41 +03:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 18:30:46 +03:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2002-07-11 18:03:41 +03:00
|
|
|
*
|
2006-10-07 18:30:46 +03:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2002-07-11 18:03:41 +03:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2006-10-07 18:30:46 +03:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2006-01-13 00:43:26 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2002-07-09 19:08:43 +03:00
|
|
|
*/
|
2003-03-06 13:32:04 +02:00
|
|
|
|
|
|
|
/**
|
2010-04-20 17:45:34 +03:00
|
|
|
* @file
|
2004-05-07 06:10:11 +03:00
|
|
|
* Sorenson Vector Quantizer #1 (SVQ1) video codec.
|
|
|
|
* For more information of the SVQ1 algorithm, visit:
|
|
|
|
* http://www.pcisys.net/~melanson/codecs/
|
2003-03-06 13:32:04 +02:00
|
|
|
*/
|
|
|
|
|
2007-07-06 18:19:35 +03:00
|
|
|
#include "svq1.h"
|
2002-07-22 23:51:26 +03:00
|
|
|
#include "svq1_cb.h"
|
2003-05-26 20:44:24 +03:00
|
|
|
#include "svq1_vlc.h"
|
|
|
|
|
2002-07-09 19:08:43 +03:00
|
|
|
/* standard video sizes */
|
2010-01-09 20:33:21 +02:00
|
|
|
const struct svq1_frame_size ff_svq1_frame_size_table[7] = {
|
2002-07-09 19:08:43 +03:00
|
|
|
{ 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 },
|
2010-01-09 20:33:21 +02:00
|
|
|
{ 704, 576 }, { 240, 180 }, { 320, 240 }
|
2002-07-09 19:08:43 +03:00
|
|
|
};
|