Function spdl::core::extract_packets_at_indices

Function Documentation

std::vector<std::tuple<VideoPacketsPtr, std::vector<size_t>>> spdl::core::extract_packets_at_indices(const VideoPacketsPtr &src, std::vector<size_t> indices)

Extract packets at specific indices from video packets.

Parameters:
  • src – Source video packets.

  • indices – Indices of packets to extract.

Returns:

Vector of tuples containing packets and their original indices.