[vlc-devel] CrystalHD decoder

Benjamin Zores ben at geexbox.org
Fri Dec 3 19:48:46 CET 2010


On Fri, Dec 3, 2010 at 11:05 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> This is a first shot at it. Tested only on 0015 (someone has a 0012
> around?)

I do have 70012 so tried your patch.

A few remarks:

- configure bails out, due to missing
#include <libcrystalhd/bc_dts_types.h>
in the test file.

- set_capability( "decoder", 0 ): it's not going to be high priority
it seems. I raised to 80 to use it. Is there another way, at least for
test ?

- video seems to be decoded (great !!)

- but there are a lot of missing frames. Attached a few debug logs:

>From VLC:
Running DIL (3.21.0) Version
DtsDeviceOpen: Opening HW in mode 0
Clock set to 180
Setting Color Mode to 1
[0x7fa0d800ef10] crystalhd decoder: Opened CrystalHD hardware with success
[0x7fa0d8011620] dts decoder: DTS channels:6 samplerate:48000 bitrate:1536000
Stream with high frequencies VQ coding
[0x7fa0d800ef10] crystalhd decoder error: DtsProcOutput returned 18
[0x7fa0d800ef10] crystalhd decoder error:  Input NULL but have pictures 2
[0x7fa0d800ef10] crystalhd decoder error:  Input NULL but have pictures 1
[0x7fa0d800ef10] crystalhd decoder error:  Input NULL but have pictures 3
...
[0x7ff6e4024260] main input error: ES_OUT_SET_(GROUP_)PCR  is called
too late (pts_delay increased to 1411 ms)
DtsFetchOutInterruptible: Failed:a
[0x7ff6cc001ef0] crystalhd decoder error: DtsProcOutput returned 8
[0x7ff6cc001ef0] crystalhd decoder error:  Input NULL but have pictures 10
[0x7ff6cc001ef0] crystalhd decoder error:  Input NULL but have pictures 9
[0x7ff6cc001ef0] crystalhd decoder error:  Input NULL but have pictures 8
...

>From kernel:
[171392.037821] Broadcom 70012 Decoder 0000:03:00.0: PCI INT A disabled
[171509.936921] Loading crystalhd v3.9.0
[171509.936945] crystalhd 0000:03:00.0: Starting Device:0x1612
[171509.936963] crystalhd 0000:03:00.0: PCI INT A -> GSI 17 (level,
low) -> IRQ 17
[171509.937801] crystalhd 0000:03:00.0: irq 46 for MSI/MSI-X
[171510.233885] crystalhd 0000:03:00.0: setting latency timer to 64
[171521.372456] crystalhd 0000:03:00.0: Opening new user[0] handle
[171523.623158] start_capture: pause_th:12, resume_th:5
[171523.739763] crystalhd 0000:03:00.0: [FMT CH] PIB:0 0 420 2 500 2d0 500 0 0 0
[171524.019326] crystalhd 0000:03:00.0: MISSING 6 PICTURES
[171526.848590] crystalhd 0000:03:00.0: FETCH TIMEOUT
[171530.524525] crystalhd 0000:03:00.0: FETCH TIMEOUT
[171530.902569] crystalhd 0000:03:00.0: list_index:1 rx[1] rxtot[434]
Y:10 UV:0 Int:800 YDnSz:0 UVDnSz:0
[171531.151495] crystalhd 0000:03:00.0: MISSING 4 PICTURES
[171531.528960] crystalhd 0000:03:00.0: list_index:0 rx[2] rxtot[471]
Y:2 UV:0 Int:8 YDnSz:0 UVDnSz:0
[171531.569001] crystalhd 0000:03:00.0: MISSING 3 PICTURES
[171532.071174] crystalhd 0000:03:00.0: list_index:1 rx[3] rxtot[498]
Y:10 UV:0 Int:800 YDnSz:0 UVDnSz:0
[171534.363110] crystalhd 0000:03:00.0: FETCH TIMEOUT
[171538.071573] crystalhd 0000:03:00.0: FETCH TIMEOUT
[171538.619106] crystalhd 0000:03:00.0: list_index:0 rx[4] rxtot[899]
Y:2 UV:0 Int:8 YDnSz:0 UVDnSz:0
[171538.660636] crystalhd 0000:03:00.0: MISSING 3 PICTURES
[171539.286987] crystalhd 0000:03:00.0: list_index:1 rx[5] rxtot[940]
Y:10 UV:0 Int:800 YDnSz:0 UVDnSz:0
[171539.326093] crystalhd 0000:03:00.0: MISSING 2 PICTURES
[171541.568592] crystalhd 0000:03:00.0: FETCH TIMEOUT
[171542.225589] crystalhd 0000:03:00.0: list_index:0 rx[6] rxtot[1119]
Y:2 UV:0 Int:8 YDnSz:0 UVDnSz:0
[171542.266295] crystalhd 0000:03:00.0: MISSING 4 PICTURES
[171542.540085] crystalhd 0000:03:00.0: list_index:1 rx[7] rxtot[1138]
Y:10 UV:0 Int:800 YDnSz:0 UVDnSz:0
[171542.580736] crystalhd 0000:03:00.0: MISSING 2 PICTURES
[171543.207272] crystalhd 0000:03:00.0: list_index:0 rx[8] rxtot[1175]
Y:2 UV:0 Int:8 YDnSz:0 UVDnSz:0
[171545.342112] crystalhd 0000:03:00.0: FETCH TIMEOUT
[171546.627114] crystalhd 0000:03:00.0: list_index:0 rx[9] rxtot[1381]
Y:2 UV:0 Int:8 YDnSz:0 UVDnSz:0
[171546.667219] crystalhd 0000:03:00.0: MISSING 7 PICTURES
[171547.026130] crystalhd 0000:03:00.0: list_index:1 rx[10]
rxtot[1402] Y:10 UV:0 Int:800 YDnSz:0 UVDnSz:0
[171560.161862] crystalhd 0000:03:00.0: list_index:1 rx[11]
rxtot[1404] Y:10 UV:0 Int:800 YDnSz:0 UVDnSz:0
[171562.435017] crystalhd 0000:03:00.0: list_index:1 rx[12]
rxtot[1542] Y:10 UV:0 Int:800 YDnSz:0 UVDnSz:0
[171562.475330] crystalhd 0000:03:00.0: MISSING 3 PICTURES
....

Anything I can do to help ?

Ben



More information about the vlc-devel mailing list