Current section

Files

Jump to
membrane_element_ffmpeg_h264 c_src membrane_element_ffmpeg_h264 parser.h
Raw

c_src/membrane_element_ffmpeg_h264/parser.h

#pragma once
#include <erl_nif.h>
#include <libavcodec/avcodec.h>
#include <libavutil/imgutils.h>
#include <libavutil/opt.h>
typedef struct _h264_parser_state {
AVCodecContext *codec_ctx;
AVCodecParserContext *parser_ctx;
} UnifexNifState;
typedef UnifexNifState State;
#include "_generated/parser.h"