Lines Matching defs:shared
995 static int alloc_picture(MpegEncContext *s, Picture *pic, int shared)
997 return ff_alloc_picture(s->avctx, pic, &s->me, &s->sc, shared, 1,
1165 int off = p->shared ? 0 : 16;
1252 if (!pre_input.shared && i) {
1498 if (s->reordered_input_picture[0]->shared || s->avctx->rc_buffer_size) {
1499 // input is a shared pix, so we can't modify it -> allocate a new
1500 // one & ensure that the shared one is reuseable
1517 /* mark us unused / free shared pic */
1519 s->reordered_input_picture[0]->shared = 0;
1523 // input is not a shared pix -> reuse buffer for current_pix