[DVDnav-discuss] [PATCH] incorrect exterrnal navRead_PCI

Ötvös Attila oattila at chello.hu
Mon Jul 16 19:43:56 CEST 2007


Hi All!

If libdvdnavmini is used then result of the external navRead_PCI() is 
incorrect. 
The patch changes the navRead_PCI() to navRead_PCI_priv() and navRead_DSI() to 
navRead_DSI_priv() in nav_read_priv.c. This functions are in the libdvdnav 
and the lindvdnavmini too. The navRead_PCI() and navRead_DSI() functions only 
call to navRead_PCI_priv() and navRead_DSI_priv() in nav_read.c.

Best regards!
Attila
-------------- next part --------------
pci packet:
pci_gi:
nv_pck_lbn    0x00000000
vobu_cat      0x0000
vobu_uop_ctl  0x00000000
vobu_s_ptm    0x00005091
vobu_e_ptm    0x0000f951
vobu_se_e_ptm 0x00005ea1
e_eltm        00:00:00.00 @ 25.00 fps
vobu_isrc     "................................"
hli:
hl_gi:
hli_ss        0x1
hli_s_ptm     0x00005091
hli_e_ptm     0x00828ec1
btn_se_e_ptm  0x00828ec1
btngr_ns      2
btngr1_dsp_ty    0x01
btngr2_dsp_ty    0x04
btngr3_dsp_ty    0x00
btn_ofn       0
btn_ns        4
nsl_btn_ns    0
fosl_btnn     0
foac_btnn     0
btn_colit:
btn_cqoli 0  sl_coli:  00000090
btn_cqoli 0  ac_coli:  11110090
btn_cqoli 1  sl_coli:  00000000
btn_cqoli 1  ac_coli:  00000000
btn_cqoli 2  sl_coli:  00000000
btn_cqoli 2  ac_coli:  00000000
btnit:
btngr_ns: 2
btn_ns: 4
group 1 btni 1:  btn_coln 1, auto_action_mode 0
coords   (284, 306) .. (422, 348)
up 4, down 2, left 1, right 1

group 1 btni 2:  btn_coln 1, auto_action_mode 0
coords   (284, 353) .. (422, 395)
up 1, down 3, left 2, right 2

group 1 btni 3:  btn_coln 1, auto_action_mode 0
coords   (284, 400) .. (422, 443)
up 2, down 4, left 3, right 3

group 1 btni 4:  btn_coln 1, auto_action_mode 0
coords   (284, 446) .. (422, 489)
up 3, down 1, left 4, right 4

group 2 btni 1:  btn_coln 1, auto_action_mode 0
coords   (259, 306) .. (443, 348)
up 4, down 2, left 1, right 1

group 2 btni 2:  btn_coln 1, auto_action_mode 0
coords   (259, 353) .. (443, 395)
up 1, down 3, left 2, right 2

group 2 btni 3:  btn_coln 1, auto_action_mode 0
coords   (259, 400) .. (443, 443)
up 2, down 4, left 3, right 3

group 2 btni 4:  btn_coln 1, auto_action_mode 0
coords   (259, 446) .. (443, 489)
up 3, down 1, left 4, right 4

-------------- next part --------------
pci packet:
pci_gi:
nv_pck_lbn    0x00000000
vobu_cat      0x0000
vobu_uop_ctl  0x00000000
vobu_s_ptm    0x00005091
vobu_e_ptm    0x0000f951
vobu_se_e_ptm 0x00005ea1
e_eltm        00:00:00.00 @ 25.00 fps
vobu_isrc     "................................"
hli:
hl_gi:
hli_ss        0x1
hli_s_ptm     0x00005091
hli_e_ptm     0x00828ec1
btn_se_e_ptm  0x00828ec1
btngr_ns      2
btngr1_dsp_ty    0x00
btngr2_dsp_ty    0x00
btngr3_dsp_ty    0x00
btn_ofn       0
btn_ns        4
nsl_btn_ns    0
fosl_btnn     0
foac_btnn     0
btn_colit:
btn_cqoli 0  sl_coli:  00000090
btn_cqoli 0  ac_coli:  11110090
btn_cqoli 1  sl_coli:  00000000
btn_cqoli 1  ac_coli:  00000000
btn_cqoli 2  sl_coli:  00000000
btn_cqoli 2  ac_coli:  00000000
btnit:
btngr_ns: 2
btn_ns: 4
group 1 btni 1:  btn_coln 1, auto_action_mode 0
coords   (664, 261) .. (113, 772)
up 8, down 8, left 4, right 4
(001) 20 04 00 00 00 00 00 02 | LinkPGCN 2

group 1 btni 2:  btn_coln 1, auto_action_mode 0
coords   (664, 70) .. (113, 709)
up 4, down 12, left 8, right 8
(001) 20 04 00 00 00 00 00 06 | LinkPGCN 6

group 1 btni 3:  btn_coln 1, auto_action_mode 0
coords   (664, 134) .. (113, 710)
up 0, down 16, left 12, right 12
(001) 20 04 00 00 00 00 00 03 | LinkPGCN 3

group 1 btni 4:  btn_coln 1, auto_action_mode 0
coords   (664, 199) .. (113, 582)
up 56, down 4, left 16, right 16
(001) 20 04 00 00 00 00 00 08 | LinkPGCN 8

group 2 btni 1:  btn_coln 1, auto_action_mode 0
coords   (748, 261) .. (13, 772)
up 8, down 8, left 4, right 4
(001) 20 04 00 00 00 00 00 02 | LinkPGCN 2

group 2 btni 2:  btn_coln 1, auto_action_mode 0
coords   (748, 70) .. (13, 709)
up 4, down 12, left 8, right 8
(001) 20 04 00 00 00 00 00 06 | LinkPGCN 6

group 2 btni 3:  btn_coln 1, auto_action_mode 0
coords   (748, 134) .. (13, 710)
up 0, down 16, left 12, right 12
(001) 20 04 00 00 00 00 00 03 | LinkPGCN 3

group 2 btni 4:  btn_coln 1, auto_action_mode 0
coords   (748, 199) .. (13, 582)
up 56, down 4, left 16, right 16
(001) 20 04 00 00 00 00 00 08 | LinkPGCN 8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: navreadpriv.patch
Type: text/x-diff
Size: 31663 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20070716/335150df/attachment.patch>


More information about the DVDnav-discuss mailing list