Searched refs:VBI_NB_COLORS (Results 1 – 1 of 1) sorted by relevance
34 #define VBI_NB_COLORS 40 macro435 *pixel += VBI_NB_COLORS; in fix_transparency()484 … sub_rect->nb_colors = ctx->opacity > 0 && ctx->opacity < 255 ? 2 * VBI_NB_COLORS : VBI_NB_COLORS; in gen_sub_bitmap()490 for (ci = 0; ci < VBI_NB_COLORS; ci++) { in gen_sub_bitmap()498 ((uint32_t *)sub_rect->data[1])[ci + VBI_NB_COLORS] = RGBA(r, g, b, ctx->opacity); in gen_sub_bitmap()502 ((uint32_t *)sub_rect->data[1])[VBI_TRANSPARENT_BLACK + VBI_NB_COLORS] = RGBA(0, 0, 0, 0); in gen_sub_bitmap()