Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new APIs for filling colour with horizontal/vertical line mask #51

Closed
GorgonMeducer opened this issue Apr 9, 2024 · 2 comments
Closed
Assignees
Labels
enhancement Denotes something that will be implemented soon.

Comments

@GorgonMeducer
Copy link
Contributor

GorgonMeducer commented Apr 9, 2024

Line masks are useful for saving memory and effectively replacing masks that repeat the same lines of pixel horizontally and vertically.

In the scene template: alarm-clock, the mask

extern const arm_2d_tile_t c_tileECGScanMask

is a typical example that should be replaced by a line mask.

image

We should add the following APIs:

  • Fill colour with horizontal line mask (with/without opacity)
  • Fill colour with vertical line mask (with/without opacity)
@GorgonMeducer GorgonMeducer self-assigned this Apr 9, 2024
@GorgonMeducer GorgonMeducer added enhancement Denotes something that will be implemented soon. Review This issue is under review. Please be patient. and removed Review This issue is under review. Please be patient. labels Apr 9, 2024
@GorgonMeducer
Copy link
Contributor Author

Added the following APIs for gray8, rgb565 and cccn888:

  • arm_2d_fill_colour_with_horizontal_line_mask_and_opacity
  • arm_2d_fill_colour_with_horizontal_line_mask

@GorgonMeducer
Copy link
Contributor Author

Added the following APIs for gray8, rgb565 and cccn888:

  • arm_2d_fill_colour_with_vertical_line_mask_and_opacity
  • arm_2d_fill_colour_with_vertical_line_mask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Denotes something that will be implemented soon.
Projects
None yet
Development

No branches or pull requests

1 participant