FFmpeg
Loading...
Searching...
No Matches
lcevcdec.h
Go to the documentation of this file.
1/*
2 * This file is part of FFmpeg.
3 *
4 * FFmpeg is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * FFmpeg is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with FFmpeg; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19#ifndef AVCODEC_LCEVCDEC_H
20#define AVCODEC_LCEVCDEC_H
21
22#include "config.h"
23
24#include "libavutil/log.h"
25#include "libavutil/pixfmt.h"
26
27#include <stdint.h>
28#if CONFIG_LIBLCEVC_DEC
29#include <LCEVC/lcevc_dec.h>
30#else
31typedef uintptr_t LCEVC_DecoderHandle;
32#endif
33
36
46
47struct AVFrame;
48
53
54int ff_lcevc_alloc(FFLCEVCContext **plcevc, int loglevel);
55int ff_lcevc_process(void *logctx, struct AVFrame *frame);
57 enum AVPixelFormat *format, int *width, int *height);
58
59#endif /* AVCODEC_LCEVCDEC_H */
static const char *const format[]
Definition af_aiir.c:444
static AVFrame * frame
int ff_lcevc_alloc(FFLCEVCContext **plcevc, int loglevel)
Definition lcevcdec.c:475
int ff_lcevc_process(void *logctx, struct AVFrame *frame)
Definition lcevcdec.c:394
uintptr_t LCEVC_DecoderHandle
Definition lcevcdec.h:31
int ff_lcevc_parse_frame(FFLCEVCContext *lcevc, const struct AVFrame *frame, enum AVPixelFormat *format, int *width, int *height)
pixel format definitions
AVPixelFormat
Pixel format.
Definition pixfmt.h:71
Describe the class of an AVClass context structure.
Definition log.h:76
This structure describes decoded (raw) audio or video data.
Definition frame.h:472
AVRefStructPool is an API for a thread-safe pool of objects managed via the RefStruct API.
Definition refstruct.c:183
Context structure for coded bitstream operations.
Definition cbs.h:226
Coded bitstream fragment structure, combining one or more units.
Definition cbs.h:129
struct CodedBitstreamContext * cbc
Definition lcevcdec.h:40
LCEVC_DecoderHandle decoder
Definition lcevcdec.h:39
struct CodedBitstreamFragment * frag
Definition lcevcdec.h:41
struct AVRefStructPool * frame_pool
pool of FFLCEVCFrame
Definition lcevcdec.h:42
FFLCEVCContext * lcevc
Definition lcevcdec.h:50
struct AVFrame * frame
Definition lcevcdec.h:51
#define height
Definition dsp.h:89
#define width
Definition dsp.h:89