| 269 | } |
| 270 | |
| 271 | static int av_cold alloc_dummy_frame(MpegEncContext *s, MPVWorkPicture *dst) |
| 272 | { |
| 273 | MPVPicture *pic; |
| 274 | int ret = alloc_picture(s, dst, 1); |
| 275 | if (ret < 0) |
| 276 | return ret; |
| 277 | |
| 278 | pic = dst->ptr; |
| 279 | pic->dummy = 1; |
| 280 | |
| 281 | ff_thread_progress_report(&pic->progress, INT_MAX); |
| 282 | |
| 283 | return 0; |
| 284 | } |
| 285 | |
| 286 | static void color_frame(AVFrame *frame, int luma) |
| 287 | { |
no test coverage detected