00001 /* 00002 * FLV specific private header. 00003 * This file is part of FFmpeg. 00004 * 00005 * FFmpeg is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * FFmpeg is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with FFmpeg; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00018 */ 00019 00020 #ifndef AVCODEC_FLV_H 00021 #define AVCODEC_FLV_H 00022 00023 #include "mpegvideo.h" 00024 #include "get_bits.h" 00025 #include "put_bits.h" 00026 00027 void ff_flv_encode_picture_header(MpegEncContext * s, int picture_number); 00028 void ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, int run, int last); 00029 00030 int ff_flv_decode_picture_header(MpegEncContext *s); 00031 void ff_flv2_decode_ac_esc(GetBitContext *gb, int *level, int *run, int *last); 00032 00033 #endif /* AVCODEC_FLV_H */