Class to carry out overlay of motion vectors as coloured arrows.
#include <motion_colour_arrows.h>
List of all members.
Public Member Functions |
| DrawMotionColourArrows (Picture &, DrawPictureMotionParams &, const MvArray &, int, int) |
| Constructor.
|
| ~DrawMotionColourArrows () |
| Destructor.
|
void | DrawBlock (int, int) |
| Calls DrawMotionArrows::DrawArrow() then colours blocks.
|
void | DrawLegend () |
| Draws power bar legend representing motion vector size.
|
| DrawMotionArrows (Picture &, DrawPictureMotionParams &, const MvArray &, int) |
| Constructor.
|
| ~DrawMotionArrows () |
| Destructor.
|
| DrawOverlay (Picture &, DrawPictureMotionParams &) |
| Constructor.
|
virtual | ~DrawOverlay () |
| Destructor.
|
void | DrawReferenceNumbers (int, int) |
| Draws picture numbers for both references.
|
void | DrawReferenceNumber (int, int) |
| Draws picture number for chosen reference.
|
void | DrawPictureNumber (int) |
| Draws current picture number.
|
void | DrawCharacter (const PicArray &, int, int) |
| Draws a character / number / symbol.
|
const OverlaySymbols & | Symbols () const |
| Returns reference to symbols object.
|
Private Attributes |
int | m_mv_clip |
| Clip value for maximum motion vector size.
|
Additional Inherited Members |
void | DrawArrow (int, int, int, int) |
| Draws a single 16 x 16 pixel arrow.
|
void | GetPowerUV (int, int &, int &) |
| Calculates U and V for particular value normalised to 1000.
|
void | DrawPowerBar (int, int) |
| Draws power bar legend with given limits.
|
void | DrawValue (int, int, int) |
| Draws value.
|
void | DrawMvBlockUV (int, int, int, int) |
| Colours motion vector block referenced by motion vector.
|
void | DrawBlockUV (int, int, int, int) |
| Colours an 8x8 block referenced by TL chroma pixel.
|
int | m_mv_scale |
| Temporal motion vector scaling.
|
int | m_blocks_per_arrow_y |
| Number of blocks per arrow.
|
int | m_blocks_per_arrow_x |
const MvArray & | m_mv |
| Reference to motion vector data for particular reference.
|
Picture & | m_picture |
| Picture data.
|
DrawPictureMotionParams & | m_draw_params |
| Block parameters and chroma scaling.
|
OverlaySymbols | m_symbols |
| Symbols.
|
Constructor & Destructor Documentation
dirac_instr::DrawMotionColourArrows::~DrawMotionColourArrows |
( |
| ) |
|
Member Function Documentation
void dirac_instr::DrawMotionColourArrows::DrawBlock |
( |
int |
, |
|
|
int |
|
|
) |
| |
|
virtual |
void dirac_instr::DrawMotionColourArrows::DrawLegend |
( |
| ) |
|
|
virtual |
Member Data Documentation
int dirac_instr::DrawMotionColourArrows::m_mv_clip |
|
private |
The documentation for this class was generated from the following file: