mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01:00
avcodec/h264data: Deduplicate H.26[45] aspect ratio table
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
39
libavcodec/h2645data.c
Normal file
39
libavcodec/h2645data.c
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* FFmpeg 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with FFmpeg; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "h2645data.h"
|
||||
|
||||
const AVRational ff_h2645_pixel_aspect[] = {
|
||||
{ 0, 1 },
|
||||
{ 1, 1 },
|
||||
{ 12, 11 },
|
||||
{ 10, 11 },
|
||||
{ 16, 11 },
|
||||
{ 40, 33 },
|
||||
{ 24, 11 },
|
||||
{ 20, 11 },
|
||||
{ 32, 11 },
|
||||
{ 80, 33 },
|
||||
{ 18, 11 },
|
||||
{ 15, 11 },
|
||||
{ 64, 33 },
|
||||
{ 160, 99 },
|
||||
{ 4, 3 },
|
||||
{ 3, 2 },
|
||||
{ 2, 1 },
|
||||
};
|
||||
Reference in New Issue
Block a user