#include "avcodec.h"
#include "bytestream.h"
#include "evc.h"
#include "evc_parse.h"
Go to the source code of this file.
|
static int | parse_nal_unit (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
|
static int | parse_nal_units (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size) |
| Parse NAL units of found picture and decode some basic information. More...
|
|
static int | decode_extradata (AVCodecParserContext *s, AVCodecContext *avctx) |
|
static int | evc_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
|
static void | evc_parser_close (AVCodecParserContext *s) |
|
◆ NUM_CHROMA_FORMATS
#define NUM_CHROMA_FORMATS 4 |
◆ parse_nal_unit()
◆ parse_nal_units()
Parse NAL units of found picture and decode some basic information.
- Parameters
-
s | codec parser context |
avctx | codec context |
buf | buffer with field/frame data |
buf_size | size of the buffer |
Definition at line 220 of file evc_parser.c.
Referenced by evc_parse().
◆ decode_extradata()
◆ evc_parse()
◆ evc_parser_close()
◆ pix_fmts_8bit
◆ pix_fmts_9bit
◆ pix_fmts_10bit
◆ pix_fmts_12bit
◆ pix_fmts_14bit
◆ pix_fmts_16bit
◆ ff_evc_parser
#define AV_PIX_FMT_YUV420P10
#define AV_PIX_FMT_YUV422P9
#define AV_PIX_FMT_GRAY16
#define AV_PIX_FMT_YUV444P10
#define AV_PIX_FMT_YUV422P16
#define AV_PIX_FMT_YUV444P16
#define AV_PIX_FMT_YUV420P9
#define AV_PIX_FMT_YUV420P16
#define AV_PIX_FMT_GRAY14
static int evc_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define AV_PIX_FMT_GRAY10
#define AV_PIX_FMT_YUV422P10
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
#define AV_PIX_FMT_YUV422P12
#define AV_PIX_FMT_YUV444P12
#define AV_PIX_FMT_YUV444P9
#define AV_PIX_FMT_YUV420P12
#define AV_PIX_FMT_YUV422P14
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define AV_PIX_FMT_YUV444P14
static void evc_parser_close(AVCodecParserContext *s)
#define AV_PIX_FMT_GRAY12
#define AV_PIX_FMT_YUV420P14