|
@@ -124,9 +124,10 @@ int main(int argc, char *argv[]) |
|
|
|
|
|
|
|
|
for (x = 0; x < ctx->width; x++, off++) |
|
|
for (x = 0; x < ctx->width; x++, off++) |
|
|
{ |
|
|
{ |
|
|
|
|
|
/* Reorder components to store YUVA */ |
|
|
data[4 * off] = dst[0][off]; |
|
|
data[4 * off] = dst[0][off]; |
|
|
data[4 * off + 1] = dst[1][off]; |
|
|
|
|
|
data[4 * off + 2] = dst[2][off]; |
|
|
|
|
|
|
|
|
data[4 * off + 1] = dst[2][off]; |
|
|
|
|
|
data[4 * off + 2] = dst[1][off]; |
|
|
data[4 * off + 3] = 0xff; |
|
|
data[4 * off + 3] = 0xff; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|