Searched refs:cursor_h (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | tdsc.c | 67 int cursor_w, cursor_h, cursor_x, cursor_y; member 152 int h = ctx->cursor_h; in tdsc_paint_cursor() 199 ctx->cursor_h = bytestream2_get_le16(&ctx->gbc); in tdsc_load_cursor() 211 ctx->cursor_h < 1 || ctx->cursor_h > 256) { in tdsc_load_cursor() 214 ctx->cursor_w, ctx->cursor_h); in tdsc_load_cursor() 218 ctx->cursor_hot_y > ctx->cursor_h) { in tdsc_load_cursor() 222 ctx->cursor_hot_y = FFMIN(ctx->cursor_hot_y, ctx->cursor_h - 1); in tdsc_load_cursor() 225 ret = av_reallocp(&ctx->cursor, ctx->cursor_stride * ctx->cursor_h); in tdsc_load_cursor() 235 for (j = 0; j < ctx->cursor_h; j++) { in tdsc_load_cursor() 248 for (j = 0; j < ctx->cursor_h; j++) { in tdsc_load_cursor() [all …]
|
D | rasc.c | 57 unsigned cursor_h; member 571 s->cursor_h = h; in decode_mous() 605 s->cursor_y + s->cursor_h > avctx->height) in draw_cursor() 610 for (int i = 0; i < s->cursor_h; i++) { in draw_cursor() 612 int cr = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 0]; in draw_cursor() 613 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1]; in draw_cursor() 614 int cb = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 2]; in draw_cursor() 638 for (int i = 0; i < s->cursor_h; i++) { in draw_cursor() 640 int cr = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 0]; in draw_cursor() 641 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1]; in draw_cursor() [all …]
|
D | g2meet.c | 159 int cursor_w, cursor_h, cursor_x, cursor_y; member 1209 uint32_t cur_size, cursor_w, cursor_h, cursor_stride; in g2m_load_cursor() local 1215 cursor_h = bytestream2_get_byte(gb); in g2m_load_cursor() 1223 cursor_h < 1 || cursor_h > 256) { in g2m_load_cursor() 1225 cursor_w, cursor_h); in g2m_load_cursor() 1228 if (cursor_hot_x > cursor_w || cursor_hot_y > cursor_h) { in g2m_load_cursor() 1232 cursor_hot_y = FFMIN(cursor_hot_y, cursor_h - 1); in g2m_load_cursor() 1235 c->cursor_w * c->cursor_h / 4 > cur_size) { in g2m_load_cursor() 1246 if ((err = av_reallocp(&c->cursor, cursor_stride * cursor_h)) < 0) { in g2m_load_cursor() 1252 c->cursor_h = cursor_h; in g2m_load_cursor() [all …]
|