FFmpeg
jpeg2000htdec.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2022 Caleb Etemesi <etemesicaleb@gmail.com>
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef AVCODEC_JPEG2000HTDEC_H
22 #define AVCODEC_JPEG2000HTDEC_H
23 
24 #include "jpeg2000dec.h"
25 
26 /**
27  * HT Block decoder as specified in Rec. ITU-T T.814 | ISO/IEC 15444-15
28  */
29 
31  Jpeg2000T1Context *t1, Jpeg2000Cblk *cblk, int width,
32  int height, int magp, uint8_t roi_shift);
33 
34 #endif /* AVCODEC_JPEG2000HTDEC_H */
Jpeg2000T1Context
Definition: jpeg2000.h:123
width
#define width
s
#define s(width, name)
Definition: cbs_vp9.c:198
Jpeg2000Cblk
Definition: jpeg2000.h:175
height
#define height
jpeg2000dec.h
ff_jpeg2000_decode_htj2k
int ff_jpeg2000_decode_htj2k(const Jpeg2000DecoderContext *s, Jpeg2000CodingStyle *codsty, Jpeg2000T1Context *t1, Jpeg2000Cblk *cblk, int width, int height, int magp, uint8_t roi_shift)
HT Block decoder as specified in Rec.
Definition: jpeg2000htdec.c:1160
Jpeg2000CodingStyle
Definition: jpeg2000.h:137
Jpeg2000DecoderContext
Definition: jpeg2000dec.h:73