Created by the British Broadcasting Corporation.
Class to carry out overlay of prediction mode.
#include <pred_mode.h>
Public Member Functions | |
| DrawPredMode (Picture &, DrawPictureMotionParams &, const TwoDArray< PredMode > &) | |
| Constructor. More... | |
| ~DrawPredMode () | |
| Destructor. More... | |
| void | DrawBlock (int, int) |
| Colours a motion vector block according to prediction. More... | |
| void | DrawLegend () |
| Displays legend. More... | |
Public Member Functions inherited from dirac_instr::DrawOverlay | |
| DrawOverlay (Picture &, DrawPictureMotionParams &) | |
| Constructor. More... | |
| virtual | ~DrawOverlay () |
| Destructor. More... | |
| virtual void | DrawBlock (int, int)=0 |
| Carries out overlay for single block. More... | |
| virtual void | DrawLegend ()=0 |
| Draws overlay legend. More... | |
| void | DrawReferenceNumbers (int, int) |
| Draws picture numbers for both references. More... | |
| void | DrawReferenceNumber (int, int) |
| Draws picture number for chosen reference. More... | |
| void | DrawPictureNumber (int) |
| Draws current picture number. More... | |
| void | DrawCharacter (const PicArray &, int, int) |
| Draws a character / number / symbol. More... | |
| const OverlaySymbols & | Symbols () const |
| Returns reference to symbols object. More... | |
Private Attributes | |
| const TwoDArray< PredMode > & | m_mode |
Additional Inherited Members | |
Protected Member Functions inherited from dirac_instr::DrawOverlay | |
| void | GetPowerUV (int, int &, int &) |
| Calculates U and V for particular value normalised to 1000. More... | |
| void | DrawPowerBar (int, int) |
| Draws power bar legend with given limits. More... | |
| void | DrawValue (int, int, int) |
| Draws value. More... | |
| void | DrawMvBlockUV (int, int, int, int) |
| Colours motion vector block referenced by motion vector. More... | |
| void | DrawBlockUV (int, int, int, int) |
| Colours an 8x8 block referenced by TL chroma pixel. More... | |
Protected Attributes inherited from dirac_instr::DrawOverlay | |
| Picture & | m_picture |
| Picture data. More... | |
| DrawPictureMotionParams & | m_draw_params |
| Block parameters and chroma scaling. More... | |
| OverlaySymbols | m_symbols |
| Symbols. More... | |
| dirac_instr::DrawPredMode::DrawPredMode | ( | Picture & | , |
| DrawPictureMotionParams & | , | ||
| const TwoDArray< PredMode > & | |||
| ) |
| dirac_instr::DrawPredMode::~DrawPredMode | ( | ) |
|
virtual |
Implements dirac_instr::DrawOverlay.
|
virtual |
Implements dirac_instr::DrawOverlay.
|
private |
© 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.