Lines Matching refs:ctx
368 static void mxf_free_metadataset(MXFMetadataSet **ctx, int freectx)
371 switch ((*ctx)->type) {
374 av_freep(&((MXFDescriptor *)*ctx)->extradata);
375 av_freep(&((MXFDescriptor *)*ctx)->mastering);
376 av_freep(&((MXFDescriptor *)*ctx)->coll);
377 av_freep(&((MXFDescriptor *)*ctx)->file_descriptors_refs);
378 av_freep(&((MXFDescriptor *)*ctx)->sub_descriptors_refs);
383 av_freep(&((MXFMCASubDescriptor *)*ctx)->language);
384 av_freep(&((MXFMCASubDescriptor *)*ctx)->group_of_soundfield_groups_link_id_refs);
387 av_freep(&((MXFSequence *)*ctx)->structural_components_refs);
390 av_freep(&((MXFEssenceGroup *)*ctx)->structural_components_refs);
394 av_freep(&((MXFPackage *)*ctx)->tracks_refs);
395 av_freep(&((MXFPackage *)*ctx)->name);
396 av_freep(&((MXFPackage *)*ctx)->comment_refs);
399 av_freep(&((MXFTaggedValue *)*ctx)->name);
400 av_freep(&((MXFTaggedValue *)*ctx)->value);
403 av_freep(&((MXFTrack *)*ctx)->name);
406 seg = (MXFIndexTableSegment *)*ctx;
414 av_freep(ctx);
3193 static int mxf_metadataset_init(MXFMetadataSet *ctx, enum MXFMetadataSetType type, MXFPartition *partition)
3195 ctx->type = type;
3196 ctx->partition_score = partition_score(partition);
3200 ((MXFDescriptor*)ctx)->pix_fmt = AV_PIX_FMT_NONE;
3201 ((MXFDescriptor*)ctx)->duration = AV_NOPTS_VALUE;
3214 void *ctx;
3220 ctx = meta;
3224 ctx = mxf;
3258 } else if ((ret = read_child(ctx, pb, tag, size, uid, -1)) < 0) {