diff options
author | James Almer <jamrial@gmail.com> | 2018-07-07 16:32:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-07-20 11:43:24 -0300 |
commit | f9af3929c0df82799b4074c1ef372713ef1a64ce (patch) | |
tree | 107d061263929cd1ec65220d8d632346fb5449d8 /libavcodec/av1.h | |
parent | 45f52d19b98fed72682ee5ad3a0f93c71c7c4944 (diff) | |
download | ffmpeg-f9af3929c0df82799b4074c1ef372713ef1a64ce.tar.gz |
avcodec/extract_extradata: add support for AV1
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1.h')
-rw-r--r-- | libavcodec/av1.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libavcodec/av1.h b/libavcodec/av1.h new file mode 100644 index 0000000000..c989b69974 --- /dev/null +++ b/libavcodec/av1.h @@ -0,0 +1,42 @@ +/* + * 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 + */ + +/** + * @file + * AV1 common definitions + */ + +#ifndef AVCODEC_AV1_H +#define AVCODEC_AV1_H + +// OBU types (section 6.2.2). +typedef enum { + // 0 reserved. + AV1_OBU_SEQUENCE_HEADER = 1, + AV1_OBU_TEMPORAL_DELIMITER = 2, + AV1_OBU_FRAME_HEADER = 3, + AV1_OBU_TILE_GROUP = 4, + AV1_OBU_METADATA = 5, + AV1_OBU_FRAME = 6, + AV1_OBU_REDUNDANT_FRAME_HEADER = 7, + AV1_OBU_TILE_LIST = 8, + // 9-14 reserved. + AV1_OBU_PADDING = 15, +} AV1_OBU_Type; + +#endif /* AVCODEC_AV1_H */ |