Warning, file /multimedia/k3b/libk3b/videodvd/k3bvideodvdsubpicturestream.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 1998-2007 Sebastian Trueg <trueg@k3b.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef _K3B_VIDEODVD_SUBPICTURE_STREAM_H_
0007 #define _K3B_VIDEODVD_SUBPICTURE_STREAM_H_
0008 
0009 #include "k3b_export.h"
0010 
0011 #include <QString>
0012 
0013 namespace K3b {
0014     namespace VideoDVD
0015     {
0016         enum SubPictureCodeMode {
0017             SUBPIC_CODE_MODE_RLE = 0,
0018             SUBPIC_CODE_MODE_EXT = 1
0019         };
0020 
0021         enum SubPictureCodeExtension {
0022             SUBPIC_CODE_EXT_UNSPECIFIED = 0,
0023             SUBPIC_CODE_EXT_CAPTION_NORMAL_SIZE = 1,
0024             SUBPIC_CODE_EXT_CAPTION_BIGGER_SIZE = 2,
0025             SUBPIC_CODE_EXT_CAPTION_FOR_CHILDREN = 3,
0026             SUBPIC_CODE_EXT_CLOSED_CAPTION_NORMAL_SIZE = 5,
0027             SUBPIC_CODE_EXT_CLOSED_CAPTION_BIGGER_SIZE = 6,
0028             SUBPIC_CODE_EXT_CLOSED_CAPTION_FOR_CHILDREN = 7,
0029             SUBPIC_CODE_EXT_FORCED_CAPTION = 9,
0030             SUBPIC_CODE_EXT_DIR_COMMENTS_NORMAL_SIZE = 13,
0031             SUBPIC_CODE_EXT_DIR_COMMENTS_BIGGER_SIZE = 14,
0032             SUBPIC_CODE_EXT_DIR_COMMENTS_FOR_CHILDREN = 15
0033         };
0034 
0035         class LIBK3B_EXPORT SubPictureStream
0036         {
0037         public:
0038             SubPictureStream() {}
0039 
0040             unsigned int codeMode() const { return m_codeMode; }
0041             unsigned int codeExtension() const { return m_codeExtension; }
0042 
0043             /**
0044              * \return A two chars language code or the empty string
0045              * if the language is undefined.
0046              */
0047             const QString& langCode() const { return m_langCode; }
0048 
0049         private:
0050             unsigned int m_codeMode:3;
0051             QString m_langCode;
0052             unsigned int m_codeExtension;
0053 
0054             friend class VideoDVD;
0055         };
0056     }
0057 }
0058 
0059 #endif