Lines Matching defs:package

1160     MXFPackage *package = arg;
1163 return mxf_read_strong_ref_array(pb, &package->tracks_refs,
1164 &package->tracks_count);
1167 avio_read(pb, package->package_ul, 16);
1168 avio_read(pb, package->package_uid, 16);
1171 avio_read(pb, package->descriptor_ref, 16);
1174 return mxf_read_utf16be_string(pb, size, &package->name);
1176 return mxf_read_strong_ref_array(pb, &package->comment_refs,
1177 &package->comment_count);
1187 /* linked package umid UMID */
2157 static int mxf_add_umid_metadata(AVDictionary **pm, const char *key, MXFPackage* package)
2160 if (!package)
2162 mxf_umid_to_str(package->package_ul, package->package_uid, str);
2198 MXFPackage *package = NULL;
2202 package = mxf_resolve_strong_ref(mxf, &mxf->packages_refs[i], SourcePackage);
2203 if (!package)
2206 if (!memcmp(package->package_ul, package_ul, 16) && !memcmp(package->package_uid, package_uid, 16))
2207 return package;
2241 MXFPackage *package = NULL;
2255 if (!(package = mxf_resolve_source_package(mxf, component->source_package_ul, component->source_package_uid)))
2258 descriptor = mxf_resolve_strong_ref(mxf, &package->descriptor_ref, Descriptor);
2283 static int mxf_parse_package_comments(MXFContext *mxf, AVDictionary **pm, MXFPackage *package)
2289 for (i = 0; i < package->comment_count; i++) {
2290 tag = mxf_resolve_strong_ref(mxf, &package->comment_refs[i], TaggedValue);
2324 /* the name of physical source package is name of the reel or tape */
2328 /* the source timecode is calculated by adding the start_position of the sourceclip from the file source package track
2329 * to the start_frame of the timecode component located on one of the tracks of the physical source package.
2587 av_log(mxf->fc, AV_LOG_ERROR, "no material package found\n");
2656 av_log(mxf->fc, AV_LOG_TRACE, "material track %d: no corresponding source package found\n", material_track->track_id);