summaryrefslogtreecommitdiff
path: root/libavcodec/cfhd.h
diff options
context:
space:
mode:
authorGagandeep Singh <deepgagan231197@gmail.com>2018-05-22 21:10:21 +0530
committerKieran Kunhya <kierank@obe.tv>2018-05-27 15:16:45 +0100
commit9cefb9e7ec508900ba147e6977590f03456aa15c (patch)
tree740f44ec6ab8e62af1ce7c1dc7956ac1cf4dfe39 /libavcodec/cfhd.h
parent63c4a4b0d692bc86142790276358ba35129f2290 (diff)
lavc/cfhd: interlaced frame decoding added
ticket #5522 output of given samples significantly improved
Diffstat (limited to 'libavcodec/cfhd.h')
-rw-r--r--libavcodec/cfhd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/cfhd.h b/libavcodec/cfhd.h
index 2573e750a6..7cd251fca7 100644
--- a/libavcodec/cfhd.h
+++ b/libavcodec/cfhd.h
@@ -68,6 +68,12 @@ typedef struct Plane {
SubBand band[DWT_LEVELS][4];
} Plane;
+typedef struct Peak {
+ int level;
+ int offset;
+ const int16_t *base;
+} Peak;
+
typedef struct CFHDContext {
AVCodecContext *avctx;
@@ -83,6 +89,7 @@ typedef struct CFHDContext {
int coded_height;
int cropped_height;
enum AVPixelFormat coded_format;
+ int progressive;
int a_width;
int a_height;
@@ -98,12 +105,14 @@ typedef struct CFHDContext {
int pshift;
int codebook;
+ int difference_coding;
int subband_num;
int level;
int subband_num_actual;
uint8_t prescale_shift[3];
Plane plane[4];
+ Peak peak;
} CFHDContext;
int ff_cfhd_init_vlcs(CFHDContext *s);