Dirac - A Video Codec

Created by the British Broadcasting Corporation.


Public Member Functions | Private Attributes | List of all members
dirac_instr::DrawPredMode Class Reference

Class to carry out overlay of prediction mode.

#include <pred_mode.h>

Inheritance diagram for dirac_instr::DrawPredMode:
Inheritance graph
[legend]
Collaboration diagram for dirac_instr::DrawPredMode:
Collaboration graph
[legend]

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 OverlaySymbolsSymbols () 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
Picturem_picture
 Picture data. More...
 
DrawPictureMotionParamsm_draw_params
 Block parameters and chroma scaling. More...
 
OverlaySymbols m_symbols
 Symbols. More...
 

Constructor & Destructor Documentation

◆ DrawPredMode()

dirac_instr::DrawPredMode::DrawPredMode ( Picture ,
DrawPictureMotionParams ,
const TwoDArray< PredMode > &   
)

◆ ~DrawPredMode()

dirac_instr::DrawPredMode::~DrawPredMode ( )

Member Function Documentation

◆ DrawBlock()

void dirac_instr::DrawPredMode::DrawBlock ( int  ,
int   
)
virtual

◆ DrawLegend()

void dirac_instr::DrawPredMode::DrawLegend ( )
virtual

Member Data Documentation

◆ m_mode

const TwoDArray<PredMode>& dirac_instr::DrawPredMode::m_mode
private

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

© 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.