You.i Engine
CYIImageMapThumbnails Class Reference

Detailed Description

Implementation of thumbnails using Image Map file format.

In the Image Map format, the thumbnails exist in one image file.

We assume no vertical and/or horizontal padding. Sequence of images are in raster scan order.

Basic sanity check is done to make sure an integer multiple of subimages fit in the image.
This header is part of the player-thumbnails optional module.

#include <player/YiImageMapThumbnails.h>

Inheritance diagram for CYIImageMapThumbnails:

Public Member Functions

 CYIImageMapThumbnails (CYIImageView *pThumbnailNode)
virtual ~CYIImageMapThumbnails ()
virtual void Init (const CYIString &path) override
virtual void Update (uint64_t time) override
- Public Member Functions inherited from IYIThumbnails
 IYIThumbnails (CYIImageView *pThumbnailNode)
virtual ~IYIThumbnails ()

Additional Inherited Members

- Protected Member Functions inherited from IYIThumbnails
void SetFilePath (const CYIString &path)
- Protected Attributes inherited from IYIThumbnails
CYIString m_AbsolutePath

Constructor & Destructor Documentation

◆ CYIImageMapThumbnails()

CYIImageMapThumbnails::CYIImageMapThumbnails ( CYIImageView pThumbnailNode)

◆ ~CYIImageMapThumbnails()

virtual CYIImageMapThumbnails::~CYIImageMapThumbnails ( )

Member Function Documentation

◆ Init()

virtual void CYIImageMapThumbnails::Init ( const CYIString path)

Initialize with an absolute path to the thumbnails file on disk.

Subclasses can provide overloads of `Init` if they choose.

Implements IYIThumbnails.

◆ Update()

virtual void CYIImageMapThumbnails::Update ( uint64_t  time)

Update the node with the appropriate thumbnail content when the video is at time milliseconds

Implements IYIThumbnails.

The documentation for this class was generated from the following file: