FFmpeg
Loading...
Searching...
No Matches
hw_base_encode_h265.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_HW_BASE_ENCODE_H265_H
20#define AVCODEC_HW_BASE_ENCODE_H265_H
21
22#include "hw_base_encode.h"
23#include "cbs_h265.h"
24
32
33typedef struct FFHWBaseEncodeH265Opts {
34 int tier;
37
40
44
45 // Tile width of the i-th column.
46 int col_width[22];
47 // Tile height of i-th row.
48 int row_height[22];
50
52 AVCodecContext *avctx,
53 FFHWBaseEncodeH265 *common,
55
56#endif /* AVCODEC_HW_BASE_ENCODE_H265_H */
static AVDictionary * opts
int ff_hw_base_encode_init_params_h265(FFHWBaseEncodeContext *base_ctx, AVCodecContext *avctx, FFHWBaseEncodeH265 *common, FFHWBaseEncodeH265Opts *opts)
main external API structure.
Definition avcodec.h:443