#endif
}
-
static struct clk ipu_clk = {
.name = "ipu_clk",
#if defined(CONFIG_MX51) || defined(CONFIG_MX53)
return ((dma_chan >= 23) && (dma_chan <= 29));
}
-
static inline void ipu_ch_param_set_buffer(uint32_t ch, int bufNum,
dma_addr_t phyaddr)
{
clk_enable(g_ipu_clk);
}
-
if (g_channel_init_mask & (1L << IPU_CHAN_ID(channel))) {
printf("Warning: channel already initialized %d\n",
IPU_CHAN_ID(channel));
break;
}
-
if (uv_stride)
ipu_ch_param_set_field(¶ms, 1, 128, 14, uv_stride - 1);
}
#endif
-
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
////
STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap);
// Query the font vertical metrics without having to create a font first.
-
//////////////////////////////////////////////////////////////////////////////
//
// NEW TEXTURE BAKING API
// need to do anything special to free it, because the contents are pure
// value data with no additional data structures. Returns 0 on failure.
-
//////////////////////////////////////////////////////////////////////////////
//
// CHARACTER TO GLYPH-INDEX CONVERSIOn
// codepoint-based functions.
// Returns 0 if the character codepoint is not defined in the font.
-
//////////////////////////////////////////////////////////////////////////////
//
// CHARACTER PROPERTIES
STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1);
STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1);
-
// @TODO: don't expose this structure
typedef struct
{
// The algorithm has not been optimized at all, so expect it to be slow
// if computing lots of characters or very large sizes.
-
-
//////////////////////////////////////////////////////////////////////////////
//
// Finding the right font...
// from the file yourself and do your own comparisons on them.
// You have to have called stbtt_InitFont() first.
-
STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags);
// returns the offset (not index) of the font that matches, or -1 if none
// if you use STBTT_MACSTYLE_DONTCARE, use a font name like "Arial Bold".
int invert;
} stbtt__edge;
-
typedef struct stbtt__active_edge
{
struct stbtt__active_edge *next;
#endif // STB_TRUETYPE_IMPLEMENTATION
-
// FULL VERSION HISTORY
//
// 1.25 (2021-07-11) many fixes