Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dqtrle.c60 int rle_code; in qtrle_decode_1bpp() local
81 rle_code = (int8_t)bytestream2_get_byte(&s->g); in qtrle_decode_1bpp()
82 if (rle_code == 0) in qtrle_decode_1bpp()
92 if(rle_code == -1) in qtrle_decode_1bpp()
95 if (rle_code < 0) { in qtrle_decode_1bpp()
97 rle_code = -rle_code; in qtrle_decode_1bpp()
103 CHECK_PIXEL_PTR(rle_code * 2 * 8); in qtrle_decode_1bpp()
105 while (rle_code--) { in qtrle_decode_1bpp()
125 rle_code *= 2; in qtrle_decode_1bpp()
126 CHECK_PIXEL_PTR(rle_code * 8); in qtrle_decode_1bpp()
[all …]
Dmsrledec.c36 unsigned char rle_code; in msrle_decode_pal4() local
50 rle_code = stream_byte = bytestream2_get_byteu(gb); in msrle_decode_pal4()
51 if (rle_code == 0) { in msrle_decode_pal4()
70 rle_code = (stream_byte + 1) / 2; in msrle_decode_pal4()
71 extra_byte = rle_code & 0x01; in msrle_decode_pal4()
72 if (pixel_ptr + 2*rle_code - odd_pixel > avctx->width || in msrle_decode_pal4()
73 bytestream2_get_bytes_left(gb) < rle_code) { in msrle_decode_pal4()
79 for (i = 0; i < rle_code; i++) { in msrle_decode_pal4()
85 if (i + 1 == rle_code && odd_pixel) in msrle_decode_pal4()
99 if (pixel_ptr + rle_code > avctx->width + 1) { in msrle_decode_pal4()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/
Dgstspu-vobsub-render.c201 rle_end_x (guint16 rle_code, gint16 x, gint16 end) in rle_end_x() argument
204 if (G_UNLIKELY (((rle_code >> 2) == 0))) in rle_end_x()
207 return MIN (end, x + (rle_code >> 2)); in rle_end_x()
218 gint16 x, next_x, end, rle_code, next_draw_x; in gstspu_vobsub_render_line() local
248 rle_code = gstspu_vobsub_get_rle_code (state, rle_offset); in gstspu_vobsub_render_line()
249 colour = &state->vobsub.main_pal[rle_code & 3]; in gstspu_vobsub_render_line()
250 next_x = rle_end_x (rle_code, x, end); in gstspu_vobsub_render_line()
297 gint16 x, next_x, disp_end, rle_code, run_end, run_draw_end; in gstspu_vobsub_render_line_with_chgcol() local
339 rle_code = gstspu_vobsub_get_rle_code (state, rle_offset); in gstspu_vobsub_render_line_with_chgcol()
340 next_x = rle_end_x (rle_code, x, disp_end); in gstspu_vobsub_render_line_with_chgcol()
[all …]