Lines Matching defs:cursor
56 AVFrame *refframe; // full decoded frame (without cursor)
65 /* All that is cursor */
66 uint8_t *cursor;
88 av_freep(&ctx->cursor);
149 const uint8_t *cursor = ctx->cursor;
156 if (!ctx->cursor)
165 cursor += -x * 4;
171 cursor += -y * ctx->cursor_stride;
180 uint8_t alpha = cursor[i * 4];
181 APPLY_ALPHA(dst[i * 3 + 0], cursor[i * 4 + 1], alpha);
182 APPLY_ALPHA(dst[i * 3 + 1], cursor[i * 4 + 2], alpha);
183 APPLY_ALPHA(dst[i * 3 + 2], cursor[i * 4 + 3], alpha);
186 cursor += ctx->cursor_stride;
190 /* Load cursor data and store it in ABGR mode. */
207 "Invalid cursor position (%d.%d outside %dx%d).\n",
214 "Invalid cursor dimensions %dx%d.\n",
226 ret = av_reallocp(&ctx->cursor, ctx->cursor_stride * ctx->cursor_h);
228 av_log(avctx, AV_LOG_ERROR, "Cannot allocate cursor buffer.\n");
232 dst = ctx->cursor;
248 dst = ctx->cursor;
282 /* Skip monochrome version of the cursor */
507 /* Load cursor coordinates */
511 /* Load a full cursor sprite */
514 /* Do not consider cursor errors fatal unless in explode mode */
609 /* Paint the cursor on the output frame */