Skip to content

Decoding ARIB STD-B24 to Latin #8

@vitorfam

Description

@vitorfam

I'm trying to implement Latin character decodification. Would it be possible if I add the Latin tables to convtable.h file static const unsigned int decoder_latin_table[] = { ... } , create a new decoder_handler at decoder.c?

void arib_initialize_decoder(arib_decoder_t *decoder)
{
   arib_finalize_decoder(decoder);
   decoder->buf = NULL;
   decoder->count = 0;
   decoder->ubuf = NULL;
   decoder->ucount = 0;
   decoder->handle_gl = &decoder->handle_g0;
   decoder->handle_gl_single = NULL;
   decoder->handle_gr = &decoder->handle_g2;
   decoder->handle_g0 = decoder_handle_kanji;
   decoder->handle_g1 = decoder_handle_alnum;
   decoder->handle_g2 = decoder_handle_hiragana;
   decoder->handle_g3 = decoder_handle_katakana;
   //New code
   decoder->handle_g4 = decoder_handle_latin;
   decoder->kanji_ku = -1;

What I want is to open closed caption subtitles in pt-BR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions