ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
emu_view_tile_internal.h File Reference

Internal bounded RGB565 tile rotation/writer. More...

#include "emu_presentation.h"
#include "ra8_attributes.h"
Include dependency graph for emu_view_tile_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool priv_emu_view_tile_write (emu_presentation_workspace_t *presentation, const uint16_t *source, uint16_t source_x, uint16_t source_y, uint16_t width, uint16_t height)
 Rotate and write one native-panel tile into its exact display location.

Detailed Description

Internal bounded RGB565 tile rotation/writer.

Declares the cross-translation-unit tile seam used by the streamed surface builder to rotate caller-supplied RGB565 spans directly into the checked presentation workspace.

Since
0.1.0

Definition in file emu_view_tile_internal.h.

Function Documentation

◆ priv_emu_view_tile_write()

bool priv_emu_view_tile_write ( emu_presentation_workspace_t * presentation,
const uint16_t * source,
uint16_t source_x,
uint16_t source_y,
uint16_t width,
uint16_t height )

Rotate and write one native-panel tile into its exact display location.

Rotate and write one native-panel tile into its exact display location; this step is contained within the emu view tile model and uses bounded caller or module-owned storage.

Parameters
[in,out]presentationDescriptor-backed presentation workspace accessed by the operation.
[in]sourceSource input used by the operation.
[in]source_xSource x input used by the operation.
[in]source_ySource y input used by the operation.
[in]widthWidth of the affected region in pixels.
[in]heightHeight of the affected region in pixels.
Returns
The emu view tile write result produced by the emu view tile model.
Return values
trueThe emu view tile write condition holds or completed successfully; false otherwise.
Precondition
Arguments satisfy the ranges documented for emu view tile write.
The call executes on the emulator's single owning thread.
Postcondition
State changes remain confined to the emu view tile model and documented output objects.
Ownership of caller-supplied storage is unchanged.
Note
The operation is synchronous and does not transfer heap ownership.
Since
0.1.0

Definition at line 154 of file emu_view_tile.c.

References internal_rotate_tile(), internal_tile_destination(), internal_write_rows(), k_emu_presentation_tile_px, emu_presentation_workspace_t::panel_height, emu_presentation_workspace_t::panel_width, emu_presentation_workspace_t::rotate_deg, emu_presentation_workspace_t::scratch, and tile_destination_t::width.

Referenced by internal_write_layer().