Lines Matching defs:priv
263 int ff_v4l2_m2m_codec_end(V4L2m2mPriv *priv)
265 V4L2m2mContext *s = priv->context;
284 av_buffer_unref(&priv->context_ref);
289 int ff_v4l2_m2m_codec_init(V4L2m2mPriv *priv)
295 V4L2m2mContext *s = priv->context;
327 int ff_v4l2_m2m_create_context(V4L2m2mPriv *priv, V4L2m2mContext **s)
333 priv->context_ref = av_buffer_create((uint8_t *) *s, sizeof(V4L2m2mContext),
335 if (!priv->context_ref) {
341 priv->context = *s;
342 (*s)->priv = priv;
345 priv->context->capture.num_buffers = priv->num_capture_buffers;
346 priv->context->output.num_buffers = priv->num_output_buffers;
347 priv->context->self_ref = priv->context_ref;
348 priv->context->fd = -1;
350 priv->context->frame = av_frame_alloc();
351 if (!priv->context->frame) {
352 av_buffer_unref(&priv->context_ref);