You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/exr: reindent after the previous change
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@ -1112,6 +1112,11 @@ static int dwa_uncompress(const EXRContext *s, const uint8_t *src, int compresse
|
|||||||
|
|
||||||
for (int y = 0; y < td->ysize; y += 8) {
|
for (int y = 0; y < td->ysize; y += 8) {
|
||||||
for (int x = 0; x < td->xsize; x += 8) {
|
for (int x = 0; x < td->xsize; x += 8) {
|
||||||
|
const int o = s->nb_channels == 4;
|
||||||
|
float *yb = td->block[0];
|
||||||
|
float *ub = td->block[1];
|
||||||
|
float *vb = td->block[2];
|
||||||
|
|
||||||
memset(td->block, 0, sizeof(td->block));
|
memset(td->block, 0, sizeof(td->block));
|
||||||
|
|
||||||
for (int j = 0; j < 3; j++) {
|
for (int j = 0; j < 3; j++) {
|
||||||
@ -1127,11 +1132,6 @@ static int dwa_uncompress(const EXRContext *s, const uint8_t *src, int compresse
|
|||||||
dct_inverse(block);
|
dct_inverse(block);
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
const int o = s->nb_channels == 4;
|
|
||||||
float *yb = td->block[0];
|
|
||||||
float *ub = td->block[1];
|
|
||||||
float *vb = td->block[2];
|
|
||||||
if (s->pixel_type == EXR_HALF) {
|
if (s->pixel_type == EXR_HALF) {
|
||||||
uint16_t *bo = ((uint16_t *)td->uncompressed_data) +
|
uint16_t *bo = ((uint16_t *)td->uncompressed_data) +
|
||||||
y * td->xsize * s->nb_channels + td->xsize * (o + 0) + x;
|
y * td->xsize * s->nb_channels + td->xsize * (o + 0) + x;
|
||||||
@ -1182,7 +1182,6 @@ static int dwa_uncompress(const EXRContext *s, const uint8_t *src, int compresse
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (s->nb_channels < 4)
|
if (s->nb_channels < 4)
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user