Libav
hevc.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Tim Walker <tdskywalker@gmail.com>
3  *
4  * This file is part of Libav.
5  *
6  * Libav is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * Libav is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with Libav; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
26 #ifndef AVFORMAT_HEVC_H
27 #define AVFORMAT_HEVC_H
28 
29 #include <stdint.h>
30 #include "avio.h"
31 
51 int ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t *buf_in,
52  int size, int filter_ps, int *ps_count);
53 
77 int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out,
78  int *size, int filter_ps, int *ps_count);
79 
96  int size, int ps_array_completeness);
97 
98 #endif /* AVFORMAT_HEVC_H */
Bytestream IO Context.
Definition: avio.h:68
Buffered I/O operations.
int size
int ff_isom_write_hvcc(AVIOContext *pb, const uint8_t *data, int size, int ps_array_completeness)
Writes HEVC extradata (parameter sets, declarative SEI NAL units) to the provided AVIOContext...
Definition: hevc.c:1081
uint8_t
const char data[16]
Definition: mxf.c:70
int ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t *buf_in, int size, int filter_ps, int *ps_count)
Writes Annex B formatted HEVC NAL units to the provided AVIOContext.
Definition: hevc.c:1017
int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out, int *size, int filter_ps, int *ps_count)
Writes Annex B formatted HEVC NAL units to a data buffer.
Definition: hevc.c:1065