Lines Matching refs:codec
98 ctx->codec = type; /* Must be before any error */
101 ctx->priv_data = av_mallocz(ctx->codec->priv_data_size);
123 if (ctx->codec->flush)
124 ctx->codec->flush(ctx);
134 if (ctx->codec->close)
135 ctx->codec->close(ctx);
139 if (ctx->codec->priv_class && ctx->priv_data)
201 err = ctx->codec->read_unit(ctx, unit);
264 err = ctx->codec->split_fragment(ctx, frag, header);
362 ret = ctx->codec->write_unit(ctx, unit, &pbc);
420 err = ctx->codec->assemble_fragment(ctx, frag);
875 if (!ctx->codec->unit_types)
879 desc = &ctx->codec->unit_types[i];