mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-30 00:22:55 +01:00
fix indent
Change-Id: I7f226ec4276e5e1b46896086a7d96cb67f36de6a
This commit is contained in:
parent
8dcae8b3cf
commit
4038ed154d
@ -434,7 +434,7 @@ static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace,
|
|||||||
// Emit scaled rows.
|
// Emit scaled rows.
|
||||||
static int EmitRescaledRowsRGBA(const VP8LDecoder* const dec,
|
static int EmitRescaledRowsRGBA(const VP8LDecoder* const dec,
|
||||||
uint8_t* in, int in_stride, int mb_h,
|
uint8_t* in, int in_stride, int mb_h,
|
||||||
uint8_t* const out, int out_stride) {
|
uint8_t* const out, int out_stride) {
|
||||||
const WEBP_CSP_MODE colorspace = dec->output_->colorspace;
|
const WEBP_CSP_MODE colorspace = dec->output_->colorspace;
|
||||||
int num_lines_in = 0;
|
int num_lines_in = 0;
|
||||||
int num_lines_out = 0;
|
int num_lines_out = 0;
|
||||||
@ -683,7 +683,7 @@ static void ProcessRows(VP8LDecoder* const dec, int row) {
|
|||||||
uint8_t* const rgba = buf->rgba + dec->last_out_row_ * buf->stride;
|
uint8_t* const rgba = buf->rgba + dec->last_out_row_ * buf->stride;
|
||||||
const int num_rows_out = io->use_scaling ?
|
const int num_rows_out = io->use_scaling ?
|
||||||
EmitRescaledRowsRGBA(dec, rows_data, in_stride, io->mb_h,
|
EmitRescaledRowsRGBA(dec, rows_data, in_stride, io->mb_h,
|
||||||
rgba, buf->stride) :
|
rgba, buf->stride) :
|
||||||
EmitRows(output->colorspace, rows_data, in_stride,
|
EmitRows(output->colorspace, rows_data, in_stride,
|
||||||
io->mb_w, io->mb_h, rgba, buf->stride);
|
io->mb_w, io->mb_h, rgba, buf->stride);
|
||||||
// Update 'last_out_row_'.
|
// Update 'last_out_row_'.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user