Commit b31ff9b2 authored by Debargha Mukherjee's avatar Debargha Mukherjee
Browse files

Add stage range configurations for fwd transforms

Only the row transforms are needed since the forward transform
is designed to do col first and then row. So the col transform
can reuse the same configuration as the col transform of a
square block of the same size.

Change-Id: I35d88146d8f8afeb685e958cb8df447f4d2b7aa1
parent 439ba638
......@@ -25,6 +25,30 @@
extern "C" {
#endif
#define ARRAYOFFSET4(x, a, b, c, d) \
{ ((a) + (x)), ((b) + (x)), ((c) + (x)), ((d) + (x)) }
#define ARRAYOFFSET6(x, a, b, c, d, e, f) \
{ \
((a) + (x)), ((b) + (x)), ((c) + (x)), ((d) + (x)), ((e) + (x)), \
((f) + (x)) \
}
#define ARRAYOFFSET8(x, a, b, c, d, e, f, g, h) \
{ \
((a) + (x)), ((b) + (x)), ((c) + (x)), ((d) + (x)), ((e) + (x)), \
((f) + (x)), ((g) + (x)), ((h) + (x)) \
}
#define ARRAYOFFSET10(x, a, b, c, d, e, f, g, h, i, j) \
{ \
((a) + (x)), ((b) + (x)), ((c) + (x)), ((d) + (x)), ((e) + (x)), \
((f) + (x)), ((g) + (x)), ((h) + (x)), ((i) + (x)), ((j) + (x)) \
}
#define ARRAYOFFSET12(x, a, b, c, d, e, f, g, h, i, j, k, l) \
{ \
((a) + (x)), ((b) + (x)), ((c) + (x)), ((d) + (x)), ((e) + (x)), \
((f) + (x)), ((g) + (x)), ((h) + (x)), ((i) + (x)), ((j) + (x)), \
((k) + (x)), ((l) + (x)) \
}
#define MAX_TXFM_STAGE_NUM 12
static const int cos_bit_min = 10;
......
This diff is collapsed.
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