media: vidtv: add a poor guy's simulation to preBER stats
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 15 Sep 2020 08:06:52 +0000 (10:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 17 Sep 2020 10:01:20 +0000 (12:01 +0200)
commit82d00a1a2ac8b112728c98a88948456a0e308672
tree3a0a87f857b7aacdfd407beca777a954d22c4d8e
parent2cf846b1f3006b88b7f381082b23ba25030a1650
media: vidtv: add a poor guy's simulation to preBER stats

A typical digital TV stream has errors that are corrected
by Viterbi. While the error rate after Viterbi is usually
zero, with good signals, there are some chances of getting
random errors before that, which are auto-corrected by
the error code algorithm.

Add a poor guy's implementation that would show some
noise at the pre-BER part of the demod.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_mux.c