Home
last modified time | relevance | path

Searched refs:calc_luma (Results 1 – 11 of 11) sorted by relevance

/dports/multimedia/lives/lives-3.2.0/lives-plugins/weed-plugins/
H A Dsimple_blend.c131 uint8_t av_luma = (calc_luma(&src1[j], pal, 0) + calc_luma(&src1[j - 1], pal, 0) in common_process()
132 + calc_luma(&src1[j + 1], pal, 0) in common_process()
133 + calc_luma(&src1[j - irowstride1], pal, 0) in common_process()
134 + calc_luma(&src1[j - 1 - irowstride1], pal, 0) in common_process()
135 + calc_luma(&src1[j + 1 - irowstride1], pal, 0) in common_process()
136 + calc_luma(&src1[j + irowstride1], pal, 0) in common_process()
137 + calc_luma(&src1[j - 1 + irowstride1], pal, 0) in common_process()
138 + calc_luma(&src1[j + 1 + irowstride1], pal, 0)) / 9; in common_process()
146 if (calc_luma(&src1[j], pal, 0) < (blend_factor)) weed_memcpy(&dst[j], &src2[j], 3); in common_process()
151 if (calc_luma(&src2[j], pal, 0) > (blendneg)) weed_memcpy(&dst[j], &src2[j], 3); in common_process()
[all …]
H A Dhaip.c88 if (calc_luma(&pt[-row - 3], pal, 0) >= (luma - adj)) { in make_eight_table()
92 if (calc_luma(&pt[-row], pal, 0) >= (luma - adj)) { in make_eight_table()
96 if (calc_luma(&pt[-row + 3], pal, 0) >= (luma - adj)) { in make_eight_table()
100 if (calc_luma(&pt[-3], pal, 0) >= (luma - adj)) { in make_eight_table()
104 if (calc_luma(&pt[3], pal, 0) >= (luma - adj)) { in make_eight_table()
108 if (calc_luma(&pt[row - 3], pal, 0) >= (luma - adj)) { in make_eight_table()
112 if (calc_luma(&pt[row], pal, 0) >= (luma - adj)) { in make_eight_table()
116 if (calc_luma(&pt[row + 3], pal, 0) >= (luma - adj)) { in make_eight_table()
285 luma = calc_luma(pt, palette, 0); in haip_process()
H A Dbump2d.c134 …bumpmap[xx][y].x = calc_luma(&src[x + psize], palette, yuv_clamping) - calc_luma(&src[x], palette,… in bumpmap_process()
135 …bumpmap[xx][y].y = calc_luma(&src[x], palette, yuv_clamping) - calc_luma(&src[- irowstride + x], p… in bumpmap_process()
H A Dmulti_blends.c99 luma1 = (unsigned char)(calc_luma(&src1[j], palette, 0)); in common_process()
100 luma2 = (unsigned char)(calc_luma(&src2[j], palette, 0)); in common_process()
106 luma1 = (unsigned char)(calc_luma(&src1[j], palette, 0)); in common_process()
107 luma2 = (unsigned char)(calc_luma(&src2[j], palette, 0)); in common_process()
113 luma1 = calc_luma(&src1[j], palette, 0); in common_process()
H A Dblank_frame_detector.c82 luma = calc_luma(&src[i], pal, weed_get_int_value(in_channel, WEED_LEAF_YUV_CLAMPING, NULL)); in bfd_process()
H A Dxeffect.c88 map[h * width + i] = calc_luma(&src[h * irowstride + i * psize], palette, 0); in xeffect_process()
H A Dfg_bg_removal.c131 luma = calc_luma(&src[j], palette, 0); in common_process()
H A Dtextfun.c131 if (calc_luma(img, pal, 0) > thresh) lumbyte |= (1 << i); in make_lumbyte()
H A Dedge.c174 sdata->mapl[y * width + x] = calc_luma(&src[y * irow + x * psize], pal, 0); in edge_process()
H A Dweed-plugin-utils.c975 static uint8_t calc_luma(uint8_t *pixel, int palette, int yuv_clamping) { in calc_luma() function
/dports/multimedia/lives/lives-3.2.0/libweed/
H A Dweed-plugin-utils.h314 FN_DECL uint8_t calc_luma(uint8_t *pixel, int palette, int yuv_clamping);