# Dirac - A Video Codec

Created by the British Broadcasting Corporation.

# overlay_symbols.h

Go to the documentation of this file.

    00001 /* ***** BEGIN LICENSE BLOCK *****
    00002 *
    00003 * $Id: overlay_symbols.h,v 1.2 2004/11/22 13:42:33 asuraparaju Exp $ $Name: Dirac_0_7_0 $
    00004 *
    00005 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
    00006 *
    00007 * The contents of this file are subject to the Mozilla Public License
    00008 * Version 1.1 (the "License"); you may not use this file except in compliance
    00009 * with the License. You may obtain a copy of the License at
    00010 * http://www.mozilla.org/MPL/
    00011 *
    00012 * Software distributed under the License is distributed on an "AS IS" basis,
    00013 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
    00014 * the specific language governing rights and limitations under the License.
    00015 *
    00016 * The Original Code is BBC Research and Development code.
    00017 *
    00018 * The Initial Developer of the Original Code is the British Broadcasting
    00019 * Corporation.
    00020 * Portions created by the Initial Developer are Copyright (C) 2004.
    00021 * All Rights Reserved.
    00022 *
    00023 * Contributor(s): Chris Bowley (Original Author)
    00024 *
    00025 * Alternatively, the contents of this file may be used under the terms of
    00026 * the GNU General Public License Version 2 (the "GPL"), or the GNU Lesser
    00027 * Public License Version 2.1 (the "LGPL"), in which case the provisions of
    00028 * the GPL or the LGPL are applicable instead of those above. If you wish to
    00029 * allow use of your version of this file only under the terms of the either
    00030 * the GPL or LGPL and not to allow others to use your version of this file
    00031 * under the MPL, indicate your decision by deleting the provisions above
    00032 * and replace them with the notice and other provisions required by the GPL
    00033 * or LGPL. If you do not delete the provisions above, a recipient may use
    00034 * your version of this file under the terms of any one of the MPL, the GPL
    00035 * or the LGPL.
    00036 * ***** END LICENSE BLOCK ***** */
    00037
    00038 #ifndef _OVERLAY_SYMBOLS_H_
    00039 #define _OVERLAY_SYMBOLS_H_
    00040
    00041 #include "libdirac_common/common.h"
    00042 using dirac::PicArray;
    00043
    00044 namespace dirac_instr
    00045 {
    00046     class OverlaySymbols
    00047     {
    00048     public :
    00049         OverlaySymbols();
    00050         ~OverlaySymbols();
    00051
    00052         // access functions
    00053         const PicArray & Arrow0() const {return m_arrow_0;}
    00054         const PicArray & Arrow7_5() const {return m_arrow_7_5;}
    00055         const PicArray & Arrow15() const {return m_arrow_15;}
    00056         const PicArray & Arrow22_5() const {return m_arrow_22_5;}
    00057         const PicArray & Arrow30() const {return m_arrow_30;}
    00058         const PicArray & Arrow37_5() const {return m_arrow_37_5;}
    00059         const PicArray & Arrow45() const {return m_arrow_45;}
    00060         const PicArray & Arrow52_5() const {return m_arrow_52_5;}
    00061         const PicArray & Arrow60() const {return m_arrow_60;}
    00062         const PicArray & Arrow67_5() const {return m_arrow_67_5;}
    00063         const PicArray & Arrow75() const {return m_arrow_75;}
    00064         const PicArray & Arrow82_5() const {return m_arrow_82_5;}
    00065         const PicArray & Arrow90() const {return m_arrow_90;}
    00066         const PicArray & ArrowNull() const {return m_arrow_null;}
    00067
    00068         const PicArray & Number0() const {return m_number_0;}
    00069         const PicArray & Number1() const {return m_number_1;}
    00070         const PicArray & Number2() const {return m_number_2;}
    00071         const PicArray & Number3() const {return m_number_3;}
    00072         const PicArray & Number4() const {return m_number_4;}
    00073         const PicArray & Number5() const {return m_number_5;}
    00074         const PicArray & Number6() const {return m_number_6;}
    00075         const PicArray & Number7() const {return m_number_7;}
    00076         const PicArray & Number8() const {return m_number_8;}
    00077         const PicArray & Number9() const {return m_number_9;}
    00078
    00079         const PicArray & SymbolPlus() const {return m_symbol_plus;}
    00080         const PicArray & SymbolMinus() const {return m_symbol_minus;}
    00081         const PicArray & SymbolGreater() const {return m_symbol_greater;}
    00082         const PicArray & SymbolColon() const {return m_symbol_colon;}
    00083         const PicArray & SymbolNull() const {return m_symbol_null;}
    00084
    00085         const PicArray & LetterF() const {return m_letter_f;}
    00086         const PicArray & LetterI() const {return m_letter_i;}
    00087         const PicArray & LetterR() const {return m_letter_r;}
    00088
    00089         const PicArray & Arrow() const {return m_arrow;}
    00090         void Arrow(const PicArray & arrow) {m_arrow=arrow;}
    00091
    00092         const PicArray & Character() const {return m_character;}
    00093         void Character(const PicArray & character) {m_character=character;}
    00094
    00095     private :
    00097         PicArray m_arrow_0, m_arrow_7_5, m_arrow_15, m_arrow_22_5, m_arrow_30, m_arrow_37_5, m_arrow_45;
    00098         PicArray m_arrow_52_5, m_arrow_60, m_arrow_67_5, m_arrow_75, m_arrow_82_5, m_arrow_90, m_arrow_null;
    00099         PicArray & m_arrow;
    00100
    00102         PicArray m_number_0, m_number_1, m_number_2, m_number_3, m_number_4, m_number_5, m_number_6, m_number_7, m_number_8, m_number_9;
    00103         PicArray m_symbol_null, m_symbol_plus, m_symbol_minus, m_symbol_greater, m_symbol_colon;
    00104
    00106         PicArray m_letter_f, m_letter_i, m_letter_r;
    00107
    00108         PicArray & m_character;
    00109     };
    00110
    00111 } // namespace dirac_instr
    00112
    00113 #endif

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