Home
last modified time | relevance | path

Searched refs:ph (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/src/core/
Dlv_obj_pos.c643 lv_coord_t ph = lv_obj_get_content_height(parent); in lv_obj_refr_pos() local
645 if(LV_COORD_IS_PCT(y)) y = (ph * LV_COORD_GET_PCT(y)) / 100; in lv_obj_refr_pos()
679 y += ph / 2 - h / 2; in lv_obj_refr_pos()
682 y += ph - h; in lv_obj_refr_pos()
686 y += ph - h; in lv_obj_refr_pos()
690 y += ph - h; in lv_obj_refr_pos()
694 y += ph / 2 - h / 2; in lv_obj_refr_pos()
698 y += ph / 2 - h / 2; in lv_obj_refr_pos()
/lvgl-3.7.0/src/extra/libs/sjpg/
Dtjpgd.c203 uint16_t hc, *ph; in create_huffman_tbl() local
218 ph = alloc_pool(jd, np * sizeof (uint16_t));/* Allocate a memory block for the code word table */ in create_huffman_tbl()
219 if (!ph) return JDR_MEM1; /* Err: not enough memory */ in create_huffman_tbl()
220 jd->huffcode[num][cls] = ph; in create_huffman_tbl()
224 while (b--) ph[j++] = hc++; in create_huffman_tbl()
257 ti = ph[i] << (HUFF_BIT - 1 - b) & HUFF_MASK; /* Index of input pattern for the code */ in create_huffman_tbl()
/lvgl-3.7.0/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h577 STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar * chardata, int pw, int ph, // same data as…
672 STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar * chardata, int pw, int ph, // same data …
4124 … unsigned char * pixels, int pw, int ph, // bitmap to be filled in argument
4131 … unsigned char * pixels, int pw, int ph, // bitmap to be filled in
4142 STBTT_memset(pixels, 0, pw * ph); // background of 0 around pixels
4157 if(y + gh + 1 >= ph) // check if it fits vertically AFTER potentially moving to next row
4160 STBTT_assert(y + gh < ph);
4176 STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar * chardata, int pw, int ph, int char_index,… argument
4180 float ipw = 1.0f / pw, iph = 1.0f / ph;
4232 static void stbrp_init_target(stbrp_context * con, int pw, int ph, stbrp_node * nodes, int num_node… argument
[all …]