pub fn read_video_frame<R: Read, T: Pixel>( dec: &mut Decoder<R>, cfg: &VideoDetails, ) -> Result<Frame<T>>