Lines Matching defs:read
40 * Metadata reading functions read Local Tags, get InstanceUID(0x3C0A) then add MetaDataSet to MXFContext.
183 int edit_units_per_packet; /* how many edit units to read at a time (PCM, ClipWrapped) */
320 MXFMetadataReadFunc *read;
1285 break; /* don't read byte by byte on sneaky files filled with lots of non-zeroes */
3300 static int mxf_parse_klv(MXFContext *mxf, KLVPacket klv, MXFMetadataReadFunc *read,
3306 res = mxf_read_local_tags(mxf, &klv, read, ctx_size, type);
3309 res = read(mxf, s->pb, 0, klv.length, klv.key, klv.offset);
3313 av_log(s, AV_LOG_ERROR, "read past end of KLV @ %#"PRIx64"\n",
3353 av_log(mxf->fc, AV_LOG_ERROR, "failed to read PartitionPack KLV\n");
3493 * very small (2, 4..). In those cases we should read more than one
3684 PRINT_KEY(s, "read header", klv.key);
3717 for (metadata = mxf_metadata_read_table; metadata->read; metadata++) {
3719 if ((ret = mxf_parse_klv(mxf, klv, metadata->read, metadata->ctx_size, metadata->type)) < 0)
3724 if (!metadata->read) {
3930 PRINT_KEY(s, "read packet", klv.key);