00001 /* 00002 * Apple ProRes compatible decoder 00003 * 00004 * Copyright (c) 2010-2011 Maxim Poliakovski 00005 * 00006 * This file is part of Libav. 00007 * 00008 * Libav is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * Libav is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with Libav; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00021 */ 00022 00023 #ifndef AVCODEC_PRORESDATA_H 00024 #define AVCODEC_PRORESDATA_H 00025 00026 #include <stdint.h> 00027 00028 #define FRAME_ID MKBETAG('i', 'c', 'p', 'f') 00029 00030 extern const uint8_t ff_prores_progressive_scan[64]; 00031 extern const uint8_t ff_prores_interlaced_scan[64]; 00032 00033 #define FIRST_DC_CB 0xB8 // rice_order = 5, exp_golomb_order = 6, switch_bits = 0 00034 extern const uint8_t ff_prores_dc_codebook[4]; 00035 extern const uint8_t ff_prores_ac_codebook[7]; 00036 extern const uint8_t ff_prores_run_to_cb_index[16]; 00037 extern const uint8_t ff_prores_lev_to_cb_index[10]; 00038 00039 #endif /* AVCODEC_PRORESDATA_H */