lib: frame assembling: flip image for non-reverse direction
It was here for aes2501 and aes1610 before moving assembling routines into common code.
This commit is contained in:
parent
f7d00a828d
commit
9437c98d54
1 changed files with 1 additions and 0 deletions
|
@ -266,6 +266,7 @@ struct fp_img *fpi_assemble_frames(struct fpi_frame_asmbl_ctx *ctx,
|
|||
/* Create buffer big enough for max image */
|
||||
img = fpi_img_new(ctx->image_width * height);
|
||||
img->flags = FP_IMG_COLORS_INVERTED;
|
||||
img->flags |= reverse ? 0 : FP_IMG_H_FLIPPED | FP_IMG_V_FLIPPED;
|
||||
img->width = ctx->image_width;
|
||||
img->height = height;
|
||||
|
||||
|
|
Loading…
Reference in a new issue