//bitmap_yuy16(uint16_t *base, int width, int height, int rowpixels) : bitmap16_t(k_bitmap_format, base, width, height, rowpixels) { } bitmap_yuy16(bitmap_yuy16 source, rectangle subrect) : base(k_bitmap_format, source, subrect) { }
//typedef std::unique_ptr<avi_file> ptr; /*********************************************************************** * PROTOTYPES ***********************************************************************/ //protected avi_file(); //static error open(std::string const &filename, ptr &file); //static error create(std::string const &filename, movie_info const &info, ptr &file); //virtual ~avi_file(); //virtual void printf_chunks() = 0; //static const char *error_string(error err); //virtual movie_info const &get_movie_info() const = 0; //virtual std::uint32_t first_sample_in_frame(std::uint32_t framenum) const = 0; //virtual error read_video_frame(std::uint32_t framenum, bitmap_yuy16 &bitmap) = 0; //virtual error read_sound_samples(int channel, std::uint32_t firstsample, std::uint32_t numsamples, std::int16_t *output) = 0; public abstract error append_video_frame(bitmap_yuy16 bitmap);