Created by the British Broadcasting Corporation.
Structure to hold code block sizes when spatial partitioning is used.
#include <common.h>
Public Member Functions | |
CodeBlocks () | |
Default Constructor. | |
CodeBlocks (unsigned int hblocks, unsigned int vblocks) | |
Constructor. | |
unsigned int | HorizontalCodeBlocks () const |
Return the number of horizontal code blocks. | |
unsigned int | VerticalCodeBlocks () const |
Return the number of vertical code blocks. | |
void | SetHorizontalCodeBlocks (unsigned int hblocks) |
Set the number of horizontal code blocks. | |
void | SetVerticalCodeBlocks (unsigned int vblocks) |
Set the number of vertical code blocks. | |
Private Attributes | |
unsigned int | m_hblocks |
Number of Horizontal code blocks. | |
unsigned int | m_vblocks |
Number of Vertical code blocks. | |
|
inline |
References m_hblocks.
Referenced by HorizontalCodeBlocks(), and SetHorizontalCodeBlocks().
Referenced by SetVerticalCodeBlocks(), and VerticalCodeBlocks().
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.