use a custom class with better names instead of std::pair to store frame processing data