Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dtdsc.c68 int cursor_w, cursor_h, cursor_x, cursor_y; member
153 int h = ctx->cursor_h; in tdsc_paint_cursor()
200 ctx->cursor_h = bytestream2_get_le16(&ctx->gbc); in tdsc_load_cursor()
212 ctx->cursor_h < 1 || ctx->cursor_h > 256) { in tdsc_load_cursor()
215 ctx->cursor_w, ctx->cursor_h); in tdsc_load_cursor()
219 ctx->cursor_hot_y > ctx->cursor_h) { in tdsc_load_cursor()
223 ctx->cursor_hot_y = FFMIN(ctx->cursor_hot_y, ctx->cursor_h - 1); in tdsc_load_cursor()
226 ret = av_reallocp(&ctx->cursor, ctx->cursor_stride * ctx->cursor_h); in tdsc_load_cursor()
236 for (j = 0; j < ctx->cursor_h; j++) { in tdsc_load_cursor()
249 for (j = 0; j < ctx->cursor_h; j++) { in tdsc_load_cursor()
[all …]
Drasc.c58 unsigned cursor_h; member
574 s->cursor_h = h; in decode_mous()
608 s->cursor_y + s->cursor_h > avctx->height) in draw_cursor()
613 for (int i = 0; i < s->cursor_h; i++) { in draw_cursor()
615 int cr = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 0]; in draw_cursor()
616 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1]; in draw_cursor()
617 int cb = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 2]; in draw_cursor()
641 for (int i = 0; i < s->cursor_h; i++) { in draw_cursor()
643 int cr = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 0]; in draw_cursor()
644 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1]; in draw_cursor()
[all …]
Dg2meet.c161 int cursor_w, cursor_h, cursor_x, cursor_y; member
1210 uint32_t cur_size, cursor_w, cursor_h, cursor_stride; in g2m_load_cursor() local
1216 cursor_h = bytestream2_get_byte(gb); in g2m_load_cursor()
1224 cursor_h < 1 || cursor_h > 256) { in g2m_load_cursor()
1226 cursor_w, cursor_h); in g2m_load_cursor()
1229 if (cursor_hot_x > cursor_w || cursor_hot_y > cursor_h) { in g2m_load_cursor()
1233 cursor_hot_y = FFMIN(cursor_hot_y, cursor_h - 1); in g2m_load_cursor()
1236 c->cursor_w * c->cursor_h / 4 > cur_size) { in g2m_load_cursor()
1247 if ((err = av_reallocp(&c->cursor, cursor_stride * cursor_h)) < 0) { in g2m_load_cursor()
1253 c->cursor_h = cursor_h; in g2m_load_cursor()
[all …]