Lines Matching refs:current_partition

168   demux->current_partition = NULL;  in gst_mxf_demux_reset_mxf_state()
461 demux->current_partition = p; in gst_mxf_demux_handle_partition_pack()
477 if (G_UNLIKELY (!demux->current_partition)) { in gst_mxf_demux_handle_primer_pack()
482 if (G_UNLIKELY (demux->current_partition->primer.mappings)) { in gst_mxf_demux_handle_primer_pack()
488 ret = mxf_primer_pack_parse (key, &demux->current_partition->primer, in gst_mxf_demux_handle_primer_pack()
496 demux->current_partition->primer.offset = demux->offset; in gst_mxf_demux_handle_primer_pack()
744 if (demux->current_partition->partition.body_sid == edata->body_sid && in gst_mxf_demux_update_essence_tracks()
745 demux->current_partition->partition.body_offset == 0) in gst_mxf_demux_update_essence_tracks()
1358 if (G_UNLIKELY (!demux->current_partition)) { in gst_mxf_demux_handle_metadata()
1363 if (G_UNLIKELY (!demux->current_partition->primer.mappings)) { in gst_mxf_demux_handle_metadata()
1368 if (demux->current_partition->parsed_metadata) { in gst_mxf_demux_handle_metadata()
1378 mxf_metadata_new (type, &demux->current_partition->primer, demux->offset, in gst_mxf_demux_handle_metadata()
1453 if (G_UNLIKELY (!demux->current_partition)) { in gst_mxf_demux_handle_descriptive_metadata()
1458 if (G_UNLIKELY (!demux->current_partition->primer.mappings)) { in gst_mxf_demux_handle_descriptive_metadata()
1463 if (demux->current_partition->parsed_metadata) { in gst_mxf_demux_handle_descriptive_metadata()
1470 &demux->current_partition->primer, demux->offset, map.data, map.size); in gst_mxf_demux_handle_descriptive_metadata()
1532 if (demux->current_partition->essence_container_offset == 0) in gst_mxf_demux_handle_generic_container_system_item()
1533 demux->current_partition->essence_container_offset = in gst_mxf_demux_handle_generic_container_system_item()
1534 demux->offset - demux->current_partition->partition.this_partition - in gst_mxf_demux_handle_generic_container_system_item()
1710 if (demux->current_partition->essence_container_offset == 0) in gst_mxf_demux_handle_generic_container_essence_element()
1711 demux->current_partition->essence_container_offset = in gst_mxf_demux_handle_generic_container_essence_element()
1712 demux->offset - demux->current_partition->partition.this_partition - in gst_mxf_demux_handle_generic_container_essence_element()
1736 if (tmp->body_sid == demux->current_partition->partition.body_sid && in gst_mxf_demux_handle_generic_container_essence_element()
2117 && demux->current_partition->partition.header_byte_count) { in read_partition_header()
2119 demux->offset += demux->current_partition->partition.header_byte_count; in read_partition_header()
2133 if (demux->current_partition->partition.index_byte_count in read_partition_header()
2136 demux->offset + demux->current_partition->partition.index_byte_count; in read_partition_header()
2164 if (demux->current_partition->essence_container_offset == 0) in read_partition_header()
2165 demux->current_partition->essence_container_offset = in read_partition_header()
2166 demux->offset - demux->current_partition->partition.this_partition - in read_partition_header()
2455 GstMXFDemuxPartition *old_partition = demux->current_partition; in gst_mxf_demux_parse_footer_metadata()
2457 demux->current_partition = NULL; in gst_mxf_demux_parse_footer_metadata()
2487 if (demux->current_partition->partition.header_byte_count == 0) { in gst_mxf_demux_parse_footer_metadata()
2488 if (demux->current_partition->partition.this_partition == 0) in gst_mxf_demux_parse_footer_metadata()
2492 demux->run_in + demux->current_partition->partition.prev_partition; in gst_mxf_demux_parse_footer_metadata()
2501 if (!demux->current_partition->partition.prev_partition) in gst_mxf_demux_parse_footer_metadata()
2504 demux->run_in + demux->current_partition->partition.prev_partition; in gst_mxf_demux_parse_footer_metadata()
2513 if (!demux->current_partition->primer.mappings) { in gst_mxf_demux_parse_footer_metadata()
2519 if (!demux->current_partition->partition.prev_partition) in gst_mxf_demux_parse_footer_metadata()
2523 demux->current_partition->partition.prev_partition; in gst_mxf_demux_parse_footer_metadata()
2534 if (!demux->current_partition->partition.prev_partition) in gst_mxf_demux_parse_footer_metadata()
2537 demux->run_in + demux->current_partition->partition.prev_partition; in gst_mxf_demux_parse_footer_metadata()
2544 demux->run_in + demux->current_partition->primer.offset + in gst_mxf_demux_parse_footer_metadata()
2545 demux->current_partition->partition.header_byte_count) { in gst_mxf_demux_parse_footer_metadata()
2550 if (!demux->current_partition->partition.prev_partition) in gst_mxf_demux_parse_footer_metadata()
2553 demux->run_in + demux->current_partition->partition.prev_partition; in gst_mxf_demux_parse_footer_metadata()
2565 if (!demux->current_partition->partition.prev_partition) in gst_mxf_demux_parse_footer_metadata()
2568 demux->run_in + demux->current_partition->partition.prev_partition; in gst_mxf_demux_parse_footer_metadata()
2597 demux->current_partition->parsed_metadata = TRUE; in gst_mxf_demux_parse_footer_metadata()
2598 if (!demux->current_partition->partition.prev_partition) in gst_mxf_demux_parse_footer_metadata()
2601 demux->run_in + demux->current_partition->partition.prev_partition; in gst_mxf_demux_parse_footer_metadata()
2610 demux->current_partition = old_partition; in gst_mxf_demux_parse_footer_metadata()
2625 demux->run_in + demux->current_partition->primer.offset + in gst_mxf_demux_handle_klv_packet()
2626 demux->current_partition->partition.header_byte_count || in gst_mxf_demux_handle_klv_packet()
2630 demux->current_partition->parsed_metadata = TRUE; in gst_mxf_demux_handle_klv_packet()
2652 if (ret == GST_FLOW_OK && demux->current_partition in gst_mxf_demux_handle_klv_packet()
2653 && demux->current_partition->partition.body_sid != 0 in gst_mxf_demux_handle_klv_packet()
2654 && demux->current_partition->partition.body_offset == 0) { in gst_mxf_demux_handle_klv_packet()
2661 if (etrack->body_sid != demux->current_partition->partition.body_sid) in gst_mxf_demux_handle_klv_packet()
2707 && demux->random_access && demux->current_partition in gst_mxf_demux_handle_klv_packet()
2708 && demux->current_partition->partition.type == MXF_PARTITION_PACK_HEADER in gst_mxf_demux_handle_klv_packet()
2709 && (!demux->current_partition->partition.closed in gst_mxf_demux_handle_klv_packet()
2710 || !demux->current_partition->partition.complete) in gst_mxf_demux_handle_klv_packet()
2717 if (demux->current_partition->partition.body_sid != 0 && in gst_mxf_demux_handle_klv_packet()
2718 demux->current_partition->partition.body_offset == 0) { in gst_mxf_demux_handle_klv_packet()
2724 if (etrack->body_sid != demux->current_partition->partition.body_sid) in gst_mxf_demux_handle_klv_packet()
2747 demux->current_partition = p; in gst_mxf_demux_set_partition_for_offset()
2820 GstMXFDemuxPartition *old_partition = demux->current_partition; in gst_mxf_demux_find_essence_element()
2967 demux->current_partition = old_partition; in gst_mxf_demux_find_essence_element()
2983 demux->current_partition = old_partition; in gst_mxf_demux_find_essence_element()
2989 demux->current_partition = old_partition; in gst_mxf_demux_find_essence_element()
3309 } else if (demux->current_partition == NULL) { in gst_mxf_demux_chain()
3674 GstMXFDemuxPartition *old_partition = demux->current_partition; in collect_index_table_segments()
3693 demux->current_partition = old_partition; in collect_index_table_segments()
4357 demux->current_partition = NULL; in gst_mxf_demux_sink_event()