Go to the documentation of this file.
29 #define MAX_DWT_SUPPORT 8
30 #define MAX_DECOMPOSITIONS 8
44 typedef struct slice_buffer_s {
115 #define COMPOSE_53iL0(b0, b1, b2)\
116 (b1 - ((b0 + b2 + 2) >> 2))
118 #define COMPOSE_DIRAC53iH0(b0, b1, b2)\
119 (b1 + ((b0 + b2 + 1) >> 1))
121 #define COMPOSE_DD97iH0(b0, b1, b2, b3, b4)\
122 (b2 + ((-b0 + 9*b1 + 9*b3 - b4 + 8) >> 4))
124 #define COMPOSE_DD137iL0(b0, b1, b2, b3, b4)\
125 (b2 - ((-b0 + 9*b1 + 9*b3 - b4 + 16) >> 5))
127 #define COMPOSE_HAARiL0(b0, b1)\
128 (b0 - ((b1 + 1) >> 1))
130 #define COMPOSE_HAARiH0(b0, b1)\
133 #define COMPOSE_FIDELITYiL0(b0, b1, b2, b3, b4, b5, b6, b7, b8)\
134 (b4 - ((-8*(b0+b8) + 21*(b1+b7) - 46*(b2+b6) + 161*(b3+b5) + 128) >> 8))
136 #define COMPOSE_FIDELITYiH0(b0, b1, b2, b3, b4, b5, b6, b7, b8)\
137 (b4 + ((-2*(b0+b8) + 10*(b1+b7) - 25*(b2+b6) + 81*(b3+b5) + 128) >> 8))
139 #define COMPOSE_DAUB97iL1(b0, b1, b2)\
140 (b1 - ((1817*(b0 + b2) + 2048) >> 12))
142 #define COMPOSE_DAUB97iH1(b0, b1, b2)\
143 (b1 - (( 113*(b0 + b2) + 64) >> 7))
145 #define COMPOSE_DAUB97iL0(b0, b1, b2)\
146 (b1 + (( 217*(b0 + b2) + 2048) >> 12))
148 #define COMPOSE_DAUB97iH0(b0, b1, b2)\
149 (b1 + ((6497*(b0 + b2) + 2048) >> 12))
174 #define slice_buffer_get_line(slice_buf, line_num) \
175 ((slice_buf)->line[line_num] ? (slice_buf)->line[line_num] \
176 : ff_slice_buffer_load_line((slice_buf), \
180 int max_allocated_lines,
int line_width,