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/dict.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
37enum {
41};
42
58
59struct AVFrame;
60
65
66int ff_lcevc_alloc(FFLCEVCContext **plcevc, AVDictionary **options, int loglevel);
67int ff_lcevc_process(void *logctx, struct AVFrame *frame);
69 enum AVPixelFormat *format, int *width, int *height);
70
71#endif /* AVCODEC_LCEVCDEC_H */
static const char *const format[]
Definition af_aiir.c:445
long long int64_t
Definition coverity.c:34
static AVFrame * frame
Public dictionary API.
@ FF_LCEVCDEC_INIT
Definition lcevcdec.h:39
@ FF_LCEVCDEC_FAIL
Definition lcevcdec.h:40
@ FF_LCEVCDEC_UNINIT
Definition lcevcdec.h:38
int ff_lcevc_alloc(FFLCEVCContext **plcevc, AVDictionary **options, int loglevel)
Definition lcevcdec.c:548
int ff_lcevc_process(void *logctx, struct AVFrame *frame)
Definition lcevcdec.c:444
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)
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:479
AVRefStructPool is an API for a thread-safe pool of objects managed via the RefStruct API.
Definition refstruct.c:184
Context structure for coded bitstream operations.
Definition cbs.h:226
Coded bitstream fragment structure, combining one or more units.
Definition cbs.h:129
int passthrough_mode
Definition lcevcdec.h:52
struct CodedBitstreamContext * cbc
Definition lcevcdec.h:46
int64_t last_pts
Definition lcevcdec.h:49
int highlight_residuals
Definition lcevcdec.h:54
LCEVC_DecoderHandle decoder
Definition lcevcdec.h:45
uint8_t * pipeline
Definition lcevcdec.h:55
struct CodedBitstreamFragment * frag
Definition lcevcdec.h:47
struct AVRefStructPool * frame_pool
pool of FFLCEVCFrame
Definition lcevcdec.h:48
int allow_dithering
Definition lcevcdec.h:53
FFLCEVCContext * lcevc
Definition lcevcdec.h:62
struct AVFrame * frame
Definition lcevcdec.h:63
#define height
Definition dsp.h:99
#define width
Definition dsp.h:99