#include <vmsAnimatedGIF.h>
Definition at line 17 of file vmsAnimatedGIF.h.
| BLOCK_UNKNOWN | |
| BLOCK_APPEXT | |
| BLOCK_COMMEXT | |
| BLOCK_CONTROLEXT | |
| BLOCK_PLAINTEXT | |
| BLOCK_IMAGE | |
| BLOCK_TRAILER |
Definition at line 34 of file vmsAnimatedGIF.h.
Definition at line 45 of file vmsAnimatedGIF.h.
Definition at line 52 of file vmsAnimatedGIF.h.
Definition at line 60 of file vmsAnimatedGIF.h.
| vmsAnimatedGIF::vmsAnimatedGIF | ( | ) |
Definition at line 17 of file vmsAnimatedGIF.cpp.
References FALSE, m_bAutoFree, m_hGIF, m_nCurrOffset, m_nDataSize, m_pGIFHeader, m_pGIFLSDescriptor, and NULL.
| vmsAnimatedGIF::~vmsAnimatedGIF | ( | ) | [virtual] |
| vmsAnimatedGIF::TFrame * vmsAnimatedGIF::get_FrameInfo | ( | int | iIndex | ) |
Definition at line 571 of file vmsAnimatedGIF.cpp.
References m_vFramesInfo.
Referenced by vmsImage::Load().
| int vmsAnimatedGIF::SaveGIFFrames | ( | LPCSTR | pszFileTemplate | ) |
Definition at line 473 of file vmsAnimatedGIF.cpp.
References FALSE, GetNextGraphicBlock(), vmsAnimatedGIF::TFrame::m_frameOffset, vmsAnimatedGIF::TFrame::m_frameSize, m_hGIF, vmsAnimatedGIF::TFrame::m_nDelay, vmsAnimatedGIF::TFrame::m_nDisposal, m_pRawData, m_vFramesInfo, MY_MAX_PATH, NULL, ResetDataPointer(), and WriteDataOnDisk().
Referenced by vmsImage::Load().
| BOOL vmsAnimatedGIF::Load | ( | LPCSTR | pszFile | ) |
Definition at line 32 of file vmsAnimatedGIF.cpp.
References FALSE, GetFileSize(), Load(), LOG, m_bAutoFree, m_hGIF, m_nDataSize, nl, NULL, and TRUE.
Referenced by vmsImage::Load().
| BOOL vmsAnimatedGIF::Load | ( | HGLOBAL | hGlobal, | |
| DWORD | dwSize | |||
| ) |
Definition at line 70 of file vmsAnimatedGIF.cpp.
References Free(), Load(), m_hGIF, and m_nDataSize.
| BOOL vmsAnimatedGIF::WriteDataOnDisk | ( | LPCSTR | pszFile, | |
| HGLOBAL | hData, | |||
| DWORD | dwSize | |||
| ) | [protected] |
Definition at line 551 of file vmsAnimatedGIF.cpp.
References b, BOOL, FALSE, and NULL.
Referenced by SaveGIFFrames().
| BOOL vmsAnimatedGIF::Load | ( | ) | [protected] |
Definition at line 501 of file vmsAnimatedGIF.cpp.
References FALSE, vmsAnimatedGIF::TGIFLSDescriptor::GetPackedValue(), LSD_PACKED_GLOBALCT, LSD_PACKED_GLOBALCTSIZE, vmsAnimatedGIF::TGIFLSDescriptor::m_cBkIndex, m_clrBackground, vmsAnimatedGIF::TGIFHeader::m_cSignature, vmsAnimatedGIF::TGIFHeader::m_cVersion, m_hGIF, m_nGlobalCTSize, m_pGIFHeader, m_pGIFLSDescriptor, m_PictureSize, m_pRawData, vmsAnimatedGIF::TGIFLSDescriptor::m_wHeight, vmsAnimatedGIF::TGIFLSDescriptor::m_wWidth, NULL, ResetDataPointer(), SkipNextGraphicBlock(), and TRUE.
Referenced by Load().
| HGLOBAL vmsAnimatedGIF::GetNextGraphicBlock | ( | UINT * | pBlockLen, | |
| UINT * | pDelay, | |||
| SIZE * | pBlockSize, | |||
| SIZE * | pBlockOffset, | |||
| UINT * | pDisposal | |||
| ) | [protected] |
Definition at line 363 of file vmsAnimatedGIF.cpp.
References BLOCK_CONTROLEXT, BLOCK_IMAGE, BLOCK_PLAINTEXT, BLOCK_TRAILER, BLOCK_UNKNOWN, GCX_PACKED_DISPOSAL, GetNextBlock(), GetNextBlockLen(), vmsAnimatedGIF::TGIFControlExt::GetPackedValue(), m_nCurrOffset, m_nGlobalCTSize, m_pRawData, vmsAnimatedGIF::TGIFControlExt::m_wDelayTime, vmsAnimatedGIF::TGIFImageDescriptor::m_wHeight, vmsAnimatedGIF::TGIFImageDescriptor::m_wLeftPos, vmsAnimatedGIF::TGIFImageDescriptor::m_wTopPos, vmsAnimatedGIF::TGIFImageDescriptor::m_wWidth, NULL, and SkipNextBlock().
Referenced by SaveGIFFrames().
Definition at line 276 of file vmsAnimatedGIF.cpp.
References m_pRawData.
Referenced by GetNextBlockLen().
| int vmsAnimatedGIF::GetNextBlockLen | ( | ) | [protected] |
Definition at line 221 of file vmsAnimatedGIF.cpp.
References BLOCK_APPEXT, BLOCK_COMMEXT, BLOCK_CONTROLEXT, BLOCK_IMAGE, BLOCK_PLAINTEXT, BLOCK_TRAILER, BLOCK_UNKNOWN, GetNextBlock(), vmsAnimatedGIF::TGIFImageDescriptor::GetPackedValue(), GetSubBlocksLen(), ID_PACKED_LOCALCT, ID_PACKED_LOCALCTSIZE, m_nCurrOffset, and m_pRawData.
Referenced by GetNextGraphicBlock(), SkipNextBlock(), and SkipNextGraphicBlock().
| BOOL vmsAnimatedGIF::SkipNextBlock | ( | ) | [protected] |
Definition at line 209 of file vmsAnimatedGIF.cpp.
References FALSE, GetNextBlockLen(), m_nCurrOffset, m_nDataSize, m_pRawData, and TRUE.
Referenced by GetNextGraphicBlock(), and SkipNextGraphicBlock().
| vmsAnimatedGIF::GIFBlockTypes vmsAnimatedGIF::GetNextBlock | ( | ) | [protected] |
Definition at line 165 of file vmsAnimatedGIF.cpp.
References BLOCK_APPEXT, BLOCK_COMMEXT, BLOCK_CONTROLEXT, BLOCK_IMAGE, BLOCK_PLAINTEXT, BLOCK_TRAILER, BLOCK_UNKNOWN, m_nCurrOffset, and m_pRawData.
Referenced by GetNextBlockLen(), GetNextGraphicBlock(), and SkipNextGraphicBlock().
| BOOL vmsAnimatedGIF::SkipNextGraphicBlock | ( | ) | [protected] |
Definition at line 99 of file vmsAnimatedGIF.cpp.
References BLOCK_CONTROLEXT, BLOCK_IMAGE, BLOCK_PLAINTEXT, BLOCK_TRAILER, BLOCK_UNKNOWN, FALSE, GetNextBlock(), GetNextBlockLen(), LOG, m_nCurrOffset, m_nDataSize, m_nGlobalCTSize, m_pRawData, nl, NULL, SkipNextBlock(), and TRUE.
Referenced by Load().
| void vmsAnimatedGIF::ResetDataPointer | ( | ) | [protected] |
Definition at line 92 of file vmsAnimatedGIF.cpp.
References m_nCurrOffset, and m_nGlobalCTSize.
Referenced by Load(), and SaveGIFFrames().
| void vmsAnimatedGIF::Free | ( | void | ) | [protected] |
Definition at line 78 of file vmsAnimatedGIF.cpp.
References FALSE, m_bAutoFree, m_hGIF, m_vFramesInfo, and NULL.
Referenced by Load(), and ~vmsAnimatedGIF().
std::vector<TFrame> vmsAnimatedGIF::m_vFramesInfo [protected] |
Definition at line 152 of file vmsAnimatedGIF.h.
Referenced by Free(), get_FrameInfo(), and SaveGIFFrames().
HGLOBAL vmsAnimatedGIF::m_hGIF [protected] |
Definition at line 157 of file vmsAnimatedGIF.h.
Referenced by Free(), Load(), SaveGIFFrames(), and vmsAnimatedGIF().
BOOL vmsAnimatedGIF::m_bAutoFree [protected] |
Definition at line 159 of file vmsAnimatedGIF.h.
Referenced by Free(), Load(), and vmsAnimatedGIF().
LPBYTE vmsAnimatedGIF::m_pRawData [protected] |
Definition at line 169 of file vmsAnimatedGIF.h.
Referenced by GetNextBlock(), GetNextBlockLen(), GetNextGraphicBlock(), GetSubBlocksLen(), Load(), SaveGIFFrames(), SkipNextBlock(), and SkipNextGraphicBlock().
TGIFHeader* vmsAnimatedGIF::m_pGIFHeader [protected] |
TGIFLSDescriptor* vmsAnimatedGIF::m_pGIFLSDescriptor [protected] |
SIZE vmsAnimatedGIF::m_PictureSize [protected] |
COLORREF vmsAnimatedGIF::m_clrBackground [protected] |
UINT vmsAnimatedGIF::m_nDataSize [protected] |
Definition at line 174 of file vmsAnimatedGIF.h.
Referenced by Load(), SkipNextBlock(), SkipNextGraphicBlock(), and vmsAnimatedGIF().
UINT vmsAnimatedGIF::m_nCurrOffset [protected] |
Definition at line 175 of file vmsAnimatedGIF.h.
Referenced by GetNextBlock(), GetNextBlockLen(), GetNextGraphicBlock(), ResetDataPointer(), SkipNextBlock(), SkipNextGraphicBlock(), and vmsAnimatedGIF().
UINT vmsAnimatedGIF::m_nGlobalCTSize [protected] |
Definition at line 176 of file vmsAnimatedGIF.h.
Referenced by GetNextGraphicBlock(), Load(), ResetDataPointer(), and SkipNextGraphicBlock().
1.5.6