Re: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: add support for decoding teletext from 10bit ancillary data

2017-07-03 Thread Marton Balint
On Mon, 3 Jul 2017, Aaron Levinson wrote: +static uint8_t* teletext_data_unit_from_vbi_data_10bit(int line, uint8_t *src, uint8_t *tgt) +{ +uint8_t y[720]; +uint8_t *py = y; +uint8_t *pend = y + 720; +while (py < pend) { +*py++ = (src[1] >> 4) + ((src[2] & 15) << 4);

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: add support for decoding teletext from 10bit ancillary data

2017-07-03 Thread Aaron Levinson
On 6/30/2017 5:05 PM, Marton Balint wrote: This also add supports for 4K DeckLink cards because they always output the ancillary data in 10-bit. Signed-off-by: Marton Balint --- doc/indevs.texi | 4 ++-- libavdevice/decklink_dec.cpp | 56

[FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: add support for decoding teletext from 10bit ancillary data

2017-06-30 Thread Marton Balint
This also add supports for 4K DeckLink cards because they always output the ancillary data in 10-bit. Signed-off-by: Marton Balint --- doc/indevs.texi | 4 ++-- libavdevice/decklink_dec.cpp | 56 +++- 2 files changed, 42