Lines Matching refs:alpha
443 // Highlight alpha not set yet, use current primary alpha
461 static void mov_text_alpha_set(MovTextContext *s, uint8_t alpha)
463 if ((s->style_attributes_temp.style_color & 0xff) == alpha) {
469 (s->style_attributes_temp.style_color & 0xffffff00) | alpha;
472 static void mov_text_alpha_cb(void *priv, int alpha, int alpha_id)
476 alpha = 255 - alpha;
477 if (alpha_id == 1) // primary alpha changes
478 mov_text_alpha_set(s, alpha);
479 else if (alpha_id == 2) { //secondary alpha changes
487 s->hclr.color = (s->hclr.color & 0xffffff00) | alpha;
547 uint8_t style_flags, alpha;
557 alpha = 255 - ((uint32_t)style->primary_color >> 24);
558 mov_text_alpha_set(s, alpha);
629 .alpha = mov_text_alpha_cb,