mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-13 17:07:21 +00:00
avcodec/lcevctab: Properly deduplicate ff_lcevc_resolution_type
(Currently lcevctab.o does not export anything.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
committed by
James Almer
parent
1b70aab908
commit
464f440773
@@ -130,7 +130,7 @@ OBJS-$(CONFIG_IVIDSP) += ivi_dsp.o
|
||||
OBJS-$(CONFIG_JNI) += ffjni.o jni.o
|
||||
OBJS-$(CONFIG_JPEGTABLES) += jpegtables.o
|
||||
OBJS-$(CONFIG_LCMS2) += fflcms2.o
|
||||
OBJS-$(CONFIG_LIBLCEVC_DEC) += lcevcdec.o
|
||||
OBJS-$(CONFIG_LIBLCEVC_DEC) += lcevcdec.o lcevctab.o
|
||||
OBJS-$(CONFIG_LLAUDDSP) += lossless_audiodsp.o
|
||||
OBJS-$(CONFIG_LLVIDDSP) += lossless_videodsp.o
|
||||
OBJS-$(CONFIG_LLVIDENCDSP) += lossless_videoencdsp.o
|
||||
|
||||
@@ -17,3 +17,19 @@
|
||||
*/
|
||||
|
||||
#include "lcevctab.h"
|
||||
|
||||
const struct FFLCEVCDim ff_lcevc_resolution_type[63] = {
|
||||
{ 0, 0},
|
||||
{ 360, 200 }, { 400, 240 }, { 480, 320 }, { 640, 360 },
|
||||
{ 640, 480 }, { 768, 480 }, { 800, 600 }, { 852, 480 },
|
||||
{ 854, 480 }, { 856, 480 }, { 960, 540 }, { 960, 640 },
|
||||
{ 1024, 576 }, { 1024, 600 }, { 1024, 768 }, { 1152, 864 },
|
||||
{ 1280, 720 }, { 1280, 800 }, { 1280, 1024 }, { 1360, 768 },
|
||||
{ 1366, 768 }, { 1920, 1200 }, { 2048, 1080 }, { 2048, 1152 },
|
||||
{ 2048, 1536 }, { 2160, 1440 }, { 2560, 1440 }, { 2560, 1600 },
|
||||
{ 2560, 2048 }, { 3200, 1800 }, { 3200, 2048 }, { 3200, 2400 },
|
||||
{ 3440, 1440 }, { 3840, 1600 }, { 3840, 2160 }, { 3840, 2400 },
|
||||
{ 4096, 2160 }, { 4096, 3072 }, { 5120, 2880 }, { 5120, 3200 },
|
||||
{ 5120, 4096 }, { 6400, 4096 }, { 6400, 4800 }, { 7680, 4320 },
|
||||
{ 7680, 4800 },
|
||||
};
|
||||
|
||||
@@ -19,23 +19,11 @@
|
||||
#ifndef AVCODEC_LCEVCTAB_H
|
||||
#define AVCODEC_LCEVCTAB_H
|
||||
|
||||
static const struct {
|
||||
#include "libavutil/attributes_internal.h"
|
||||
|
||||
EXTERN const struct FFLCEVCDim {
|
||||
int width;
|
||||
int height;
|
||||
} ff_lcevc_resolution_type[63] = {
|
||||
{ 0, 0},
|
||||
{ 360, 200 }, { 400, 240 }, { 480, 320 }, { 640, 360 },
|
||||
{ 640, 480 }, { 768, 480 }, { 800, 600 }, { 852, 480 },
|
||||
{ 854, 480 }, { 856, 480 }, { 960, 540 }, { 960, 640 },
|
||||
{ 1024, 576 }, { 1024, 600 }, { 1024, 768 }, { 1152, 864 },
|
||||
{ 1280, 720 }, { 1280, 800 }, { 1280, 1024 }, { 1360, 768 },
|
||||
{ 1366, 768 }, { 1920, 1200 }, { 2048, 1080 }, { 2048, 1152 },
|
||||
{ 2048, 1536 }, { 2160, 1440 }, { 2560, 1440 }, { 2560, 1600 },
|
||||
{ 2560, 2048 }, { 3200, 1800 }, { 3200, 2048 }, { 3200, 2400 },
|
||||
{ 3440, 1440 }, { 3840, 1600 }, { 3840, 2160 }, { 3840, 2400 },
|
||||
{ 4096, 2160 }, { 4096, 3072 }, { 5120, 2880 }, { 5120, 3200 },
|
||||
{ 5120, 4096 }, { 6400, 4096 }, { 6400, 4800 }, { 7680, 4320 },
|
||||
{ 7680, 4800 },
|
||||
};
|
||||
} ff_lcevc_resolution_type[63];
|
||||
|
||||
#endif /* AVCODEC_LCEVCTAB_H */
|
||||
|
||||
Reference in New Issue
Block a user