MythTV
master
|
#include <array>
#include <cstdint>
#include <string>
Go to the source code of this file.
Enumerations | |
enum | vbimode : std::uint8_t { VBI_IVTV, VBI_DVB, VBI_DVB_SUBTITLE } |
Functions | |
int | hamm8 (const uint8_t *p, int *err) |
int | hamm84 (const uint8_t *p, int *err) |
int | hamm16 (const uint8_t *p, int *err) |
int | hamm24 (const uint8_t *p, int *err) |
Variables | |
const std::array< const std::array< const uint8_t, 16 >, 1+8+8 > | lang_chars |
const std::array< const uint8_t, 13 > | chartab_original |
const std::array< const uint16_t, 256 > | hammtab |
const std::array< const uint8_t, 256 > | hamm84tab |
const std::array< const uint8_t, 256 > | unham84tab |
const std::array< const uint8_t, 256 > | vbi_bit_reverse |
const std::array< const std::string, 8 > | formats |
const std::array< const std::string, 4 > | subtitles |
const std::array< const std::array< const uint8_t, 256 >, 3 > | hamm24par |
This table generates the parity checks for hamm24/18 decoding. More... | |
const std::array< const uint8_t, 256 > | hamm24val |
Table to extract the lower 4 bit from hamm24/18 encoded bytes. More... | |
const std::array< const uint16_t, 64 > | hamm24err |
Mapping from parity checks made by table hamm24par to error results return by hamm24. More... | |
const std::array< const int32_t, 64 > | hamm24cor |
Mapping from parity checks made by table hamm24par to faulty bit in the decoded 18 bit word. More... | |
enum vbimode : std::uint8_t |
int hamm8 | ( | const uint8_t * | p, |
int * | err | ||
) |
Definition at line 326 of file vbilut.cpp.
Referenced by TeletextReader::AddTeletextData().
int hamm84 | ( | const uint8_t * | p, |
int * | err | ||
) |
Definition at line 333 of file vbilut.cpp.
Referenced by TeletextReader::AddTeletextData(), and TeletextDecoder::Decode().
int hamm16 | ( | const uint8_t * | p, |
int * | err | ||
) |
Definition at line 343 of file vbilut.cpp.
Referenced by TeletextReader::AddTeletextData(), and TeletextDecoder::Decode().
int hamm24 | ( | const uint8_t * | p, |
int * | err | ||
) |
Definition at line 352 of file vbilut.cpp.
const std::array<const std::array<const uint8_t,16>,1+8+8> lang_chars |
Definition at line 4 of file vbilut.cpp.
Referenced by cvt_char().
const std::array<const uint8_t, 13> chartab_original |
Definition at line 45 of file vbilut.cpp.
const std::array<const uint16_t, 256> hammtab |
Definition at line 51 of file vbilut.cpp.
const std::array<const uint8_t, 256> hamm84tab |
Definition at line 87 of file vbilut.cpp.
Referenced by hamm84().
const std::array<const uint8_t, 256> unham84tab |
Definition at line 117 of file vbilut.cpp.
const std::array<const uint8_t, 256> vbi_bit_reverse |
Definition at line 153 of file vbilut.cpp.
Referenced by CC608Decoder::DecodeVPS().
const std::array<const std::string, 8> formats |
Definition at line 189 of file vbilut.cpp.
Referenced by CoreAudioData::ChannelsList(), CC608Decoder::DecodeWSS(), MythUIText::DrawSelf(), MythPainter::DrawTextLayout(), CoreAudioData::FindAC3Stream(), MythDRMPlane::FormatsToString(), MythUIText::FormatTemplate(), V4L2util::GetFormats(), MythPainter::GetImageFromTextLayout(), AudioOutputOSS::GetOutputSettings(), MythUIFileBrowser::IsImage(), main(), MythVideoFrame::MythVideoFrame(), MythWindowVulkan::MythWindowVulkan(), CoreAudioData::OpenSPDIF(), MythRAOPConnection::ProcessRequest(), VideoBuffers::ReinitBuffer(), CoreAudioData::ResetStream(), ImageAdapterBase::SupportedImages(), and ImageAdapterBase::SupportedVideos().
const std::array<const std::string, 4> subtitles |
Definition at line 201 of file vbilut.cpp.
Referenced by EITHelper::AddEIT(), and CC608Decoder::DecodeWSS().
const std::array<const std::array<const uint8_t,256>,3> hamm24par |
This table generates the parity checks for hamm24/18 decoding.
bit 0 is for test A, 1 for B, ... thanks to R. Gancarz for this fine table g
Definition at line 213 of file vbilut.cpp.
Referenced by hamm24().
const std::array<const uint8_t, 256> hamm24val |
Table to extract the lower 4 bit from hamm24/18 encoded bytes.
Definition at line 273 of file vbilut.cpp.
Referenced by hamm24().
const std::array<const uint16_t, 64> hamm24err |
Mapping from parity checks made by table hamm24par to error results return by hamm24.
(0 = no error, 0x0100 = single bit error, 0x1000 = double error)
Definition at line 299 of file vbilut.cpp.
Referenced by hamm24().
const std::array<const int32_t, 64> hamm24cor |
Mapping from parity checks made by table hamm24par to faulty bit in the decoded 18 bit word.
Definition at line 315 of file vbilut.cpp.
Referenced by hamm24().