FFmpeg 5.1.2
Loading...
Searching...
No Matches
es_codec_private.h
Go to the documentation of this file.
1
2
3/*
4 * Copyright (C) 2019 VeriSilicon
5 *
6 * This file is part of FFmpeg.
7 *
8 * FFmpeg is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * FFmpeg is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with FFmpeg; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22#ifndef AVCODEC_VSV_PRIVATE_H
23#define AVCODEC_VSV_PRIVATE_H
24
25#include <stdint.h>
26#include <stddef.h>
27#include "libavutil/pixfmt.h"
28
29
30struct AVBufferRef;
31#define ES_DEC_MAX_OUT_COUNT 3
32#define DEFAULT_FRAME_PP_INDEX 0
33
34typedef struct _OutPutInfo {
35 #define VIDEO_MAX_PLANES 4
36 int32_t enabled;
37 int fd;
38 uint32_t width;
39 uint32_t height;
41 int32_t key_frame;
42 int32_t n_planes;
43 uint32_t *virtual_address;
45 size_t size;
46 size_t offset[VIDEO_MAX_PLANES];
47 int32_t stride[VIDEO_MAX_PLANES];
49
50typedef struct _DecPicturePri {
51 uint32_t pic_count;
53 int32_t stride_align;
55 void *hwpic;
59
60#endif //AVCODEC_VSV_PRIVATE_H
#define VIDEO_MAX_PLANES
#define ES_DEC_MAX_OUT_COUNT
pixel format definitions
AVPixelFormat
Pixel format.
Definition pixfmt.h:64
A reference to a data buffer.
Definition buffer.h:82
struct AVBufferRef * ctx_buf
OutPutInfo * default_pic
enum AVPixelFormat format
int32_t key_frame
uint32_t height
uint32_t * virtual_address