/*1* AVC helper functions for muxers2* Copyright (c) 2008 Aurelien Jacobs <[email protected]>3*4* This file is part of FFmpeg.5*6* FFmpeg is free software; you can redistribute it and/or7* modify it under the terms of the GNU Lesser General Public8* License as published by the Free Software Foundation; either9* version 2.1 of the License, or (at your option) any later version.10*11* FFmpeg is distributed in the hope that it will be useful,12* but WITHOUT ANY WARRANTY; without even the implied warranty of13* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU14* Lesser General Public License for more details.15*16* You should have received a copy of the GNU Lesser General Public17* License along with FFmpeg; if not, write to the Free Software18* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA19*/2021#ifndef AVFORMAT_AVC_H22#define AVFORMAT_AVC_H2324#include <stdint.h>25#include "avio.h"2627int ff_avc_parse_nal_units(AVIOContext *s, const uint8_t *buf, int size);28int ff_avc_parse_nal_units_buf(const uint8_t *buf_in, uint8_t **buf, int *size);29int ff_isom_write_avcc(AVIOContext *pb, const uint8_t *data, int len);30const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end);31int ff_avc_write_annexb_extradata(const uint8_t *in, uint8_t **buf, int *size);32const uint8_t *ff_avc_mp4_find_startcode(const uint8_t *start,33const uint8_t *end,34int nal_length_size);3536#endif /* AVFORMAT_AVC_H */373839