Commit 9cefb9e7 authored by Gagandeep Singh's avatar Gagandeep Singh Committed by Kieran Kunhya

lavc/cfhd: interlaced frame decoding added

ticket #5522 output of given samples significantly improved
parent 63c4a4b0
This diff is collapsed.
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment