mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-12 19:18:44 +02:00
1d333c1547
There are seven MJPEG-tables, five small (1x12, 4x17) and two not small (2x162). These are all avpriv, despite this not being worthwhile due to the overhead of exporting a symbol: The total overhead for each symbol consists of two entries in .dynsym (24B each), one entry in the importing library's .rela.dyn (24B) and one in .got (8B) as well as 2x2B for symbol versions and 4B for symbol hashes in the exporting library; in addition to that, the name of the symbol is included in both exporting and importing libraries, using 2x210 bytes in this case. (The above numbers are for a x64 Elf/Linux/GNU system. Other platforms will give different numbers.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/*
|
|
* JPEG-related tables
|
|
*
|
|
* 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
|
|
*/
|
|
|
|
#ifndef AVCODEC_JPEGTABLES_H
|
|
#define AVCODEC_JPEGTABLES_H
|
|
|
|
#include <stdint.h>
|
|
|
|
extern const uint8_t ff_mjpeg_bits_dc_luminance[];
|
|
extern const uint8_t ff_mjpeg_val_dc[];
|
|
|
|
extern const uint8_t ff_mjpeg_bits_dc_chrominance[];
|
|
|
|
extern const uint8_t ff_mjpeg_bits_ac_luminance[];
|
|
extern const uint8_t ff_mjpeg_val_ac_luminance[];
|
|
|
|
extern const uint8_t ff_mjpeg_bits_ac_chrominance[];
|
|
extern const uint8_t ff_mjpeg_val_ac_chrominance[];
|
|
|
|
#endif /* AVCODEC_JPEGTABLES_H */
|