2002-07-11 15:03:41 +00:00
|
|
|
/*
|
2007-07-05 10:37:29 +00: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 18:14:38 +00:00
|
|
|
*
|
2002-07-09 16:08:43 +00:00
|
|
|
* Copyright (C) 2002 the xine project
|
2002-07-11 15:03:41 +00:00
|
|
|
* Copyright (C) 2002 the ffmpeg project
|
2005-12-17 18:14:38 +00:00
|
|
|
*
|
2007-07-05 10:37:29 +00:00
|
|
|
* SVQ1 Encoder (c) 2004 Mike Melanson <melanson@pcisys.net>
|
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* This file is part of Libav.
|
2006-10-07 15:30:46 +00:00
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2002-07-11 15:03:41 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 15:30:46 +00:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2002-07-11 15:03:41 +00:00
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2002-07-11 15:03:41 +00: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
|
2011-03-18 17:35:10 +00:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2006-01-12 22:43:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2002-07-09 16:08:43 +00:00
|
|
|
*/
|
2003-03-06 11:32:04 +00:00
|
|
|
|
|
|
|
/**
|
2010-04-20 14:45:34 +00:00
|
|
|
* @file
|
2004-05-07 03:10:11 +00: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 11:32:04 +00:00
|
|
|
*/
|
|
|
|
|
2007-07-06 15:19:35 +00:00
|
|
|
#include "svq1.h"
|
2002-07-22 20:51:26 +00:00
|
|
|
#include "svq1_cb.h"
|
2003-05-26 17:44:24 +00:00
|
|
|
#include "svq1_vlc.h"
|
|
|
|
|
2002-07-09 16:08:43 +00:00
|
|
|
/* standard video sizes */
|
2010-01-09 18:33:21 +00:00
|
|
|
const struct svq1_frame_size ff_svq1_frame_size_table[7] = {
|
2002-07-09 16:08:43 +00:00
|
|
|
{ 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 },
|
2010-01-09 18:33:21 +00:00
|
|
|
{ 704, 576 }, { 240, 180 }, { 320, 240 }
|
2002-07-09 16:08:43 +00:00
|
|
|
};
|