Lines Matching refs:colour
173 SpuColour * colour) in gstspu_vobsub_draw_rle_run() argument
177 state->vobsub.cur_Y, x, end, colour->Y, colour->U, colour->V, colour->A); in gstspu_vobsub_draw_rle_run()
180 if (colour->A != 0) { in gstspu_vobsub_draw_rle_run()
181 guint32 inv_A = 0xff - colour->A; in gstspu_vobsub_draw_rle_run()
186 (inv_A * state->vobsub.out_Y[x] + colour->Y) / 0xff; in gstspu_vobsub_draw_rle_run()
187 state->vobsub.out_U[x / 2] += colour->U; in gstspu_vobsub_draw_rle_run()
188 state->vobsub.out_V[x / 2] += colour->V; in gstspu_vobsub_draw_rle_run()
189 state->vobsub.out_A[x / 2] += colour->A; in gstspu_vobsub_draw_rle_run()
219 SpuColour *colour; in gstspu_vobsub_render_line() local
249 colour = &state->vobsub.main_pal[rle_code & 3]; in gstspu_vobsub_render_line()
257 visible |= gstspu_vobsub_draw_rle_run (state, x, next_draw_x, colour); in gstspu_vobsub_render_line()
298 SpuColour *colour; in gstspu_vobsub_render_line_with_chgcol() local
351 colour = &cur_pix_ctrl->pal_cache[rle_code & 3]; in gstspu_vobsub_render_line_with_chgcol()
352 visible |= gstspu_vobsub_draw_rle_run (state, x, run_draw_end, colour); in gstspu_vobsub_render_line_with_chgcol()