Mercurial > libdvdread4.hg
diff nav_print.c @ 20:fce16251755c src
Remove all trailing whitespace,
patch by Erik Hovland *erik$hovland dot org%
author | rathann |
---|---|
date | Sat, 06 Sep 2008 21:55:51 +0000 |
parents | 5aeaa695eadb |
children | 4aa618ae094f |
line wrap: on
line diff
--- a/nav_print.c Mon Sep 01 21:05:17 2008 +0000 +++ b/nav_print.c Sat Sep 06 21:55:51 2008 +0000 @@ -45,7 +45,7 @@ printf("e_eltm "); dvdread_print_time(&pci_gi->e_eltm); printf("\n"); - + printf("vobu_isrc \""); for(i = 0; i < 32; i++) { char c = pci_gi->vobu_isrc[i]; @@ -59,24 +59,24 @@ static void navPrint_NSML_AGLI(nsml_agli_t *nsml_agli) { int i, j = 0; - + for(i = 0; i < 9; i++) j |= nsml_agli->nsml_agl_dsta[i]; if(j == 0) return; - + printf("nsml_agli:\n"); for(i = 0; i < 9; i++) if(nsml_agli->nsml_agl_dsta[i]) - printf("nsml_agl_c%d_dsta 0x%08x\n", i + 1, + printf("nsml_agl_c%d_dsta 0x%08x\n", i + 1, nsml_agli->nsml_agl_dsta[i]); } static void navPrint_HL_GI(hl_gi_t *hl_gi, int *btngr_ns, int *btn_ns) { - + if((hl_gi->hli_ss & 0x03) == 0) return; - + printf("hl_gi:\n"); printf("hli_ss 0x%01x\n", hl_gi->hli_ss & 0x03); printf("hli_s_ptm 0x%08x\n", hl_gi->hli_s_ptm); @@ -88,7 +88,7 @@ printf("btngr%d_dsp_ty 0x%02x\n", 1, hl_gi->btngr1_dsp_ty); printf("btngr%d_dsp_ty 0x%02x\n", 2, hl_gi->btngr2_dsp_ty); printf("btngr%d_dsp_ty 0x%02x\n", 3, hl_gi->btngr3_dsp_ty); - + printf("btn_ofn %d\n", hl_gi->btn_ofn); *btn_ns = hl_gi->btn_ns; printf("btn_ns %d\n", hl_gi->btn_ns); @@ -99,13 +99,13 @@ static void navPrint_BTN_COLIT(btn_colit_t *btn_colit) { int i, j; - + j = 0; for(i = 0; i < 6; i++) j |= btn_colit->btn_coli[i/2][i&1]; if(j == 0) return; - + printf("btn_colit:\n"); for(i = 0; i < 3; i++) for(j = 0; j < 2; j++) @@ -116,30 +116,30 @@ static void navPrint_BTNIT(btni_t *btni_table, int btngr_ns, int btn_ns) { int i, j; - + printf("btnit:\n"); printf("btngr_ns: %i\n", btngr_ns); printf("btn_ns: %i\n", btn_ns); - + if(btngr_ns == 0) return; - + for(i = 0; i < btngr_ns; i++) { for(j = 0; j < (36 / btngr_ns); j++) { if(j < btn_ns) { btni_t *btni = &btni_table[(36 / btngr_ns) * i + j]; - + printf("group %d btni %d: ", i+1, j+1); printf("btn_coln %d, auto_action_mode %d\n", btni->btn_coln, btni->auto_action_mode); printf("coords (%d, %d) .. (%d, %d)\n", btni->x_start, btni->y_start, btni->x_end, btni->y_end); - + printf("up %d, ", btni->up); printf("down %d, ", btni->down); printf("left %d, ", btni->left); printf("right %d\n", btni->right); - + /* ifoPrint_COMMAND(&btni->cmd); */ printf("\n"); } @@ -149,7 +149,7 @@ static void navPrint_HLI(hli_t *hli) { int btngr_ns = 0, btn_ns = 0; - + printf("hli:\n"); navPrint_HL_GI(&hli->hl_gi, & btngr_ns, & btn_ns); navPrint_BTN_COLIT(&hli->btn_colit); @@ -189,14 +189,14 @@ printf("VOBU at the beginning of ILVU\n"); if(sml_pbi->category & 0x1000) printf("VOBU at end of PREU of ILVU\n"); - + printf("ilvu_ea 0x%08x\n", sml_pbi->ilvu_ea); printf("nxt_ilvu_sa 0x%08x\n", sml_pbi->ilvu_sa); printf("nxt_ilvu_size 0x%04x\n", sml_pbi->size); - + printf("vob_v_s_s_ptm 0x%08x\n", sml_pbi->vob_v_s_s_ptm); printf("vob_v_e_e_ptm 0x%08x\n", sml_pbi->vob_v_e_e_ptm); - + /* $$$ more code needed here */ } @@ -211,7 +211,7 @@ static void navPrint_VOBU_SRI(vobu_sri_t *vobu_sri) { int i; - int stime[19] = { 240, 120, 60, 20, 15, 14, 13, 12, 11, + int stime[19] = { 240, 120, 60, 20, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; printf("vobu_sri:\n"); printf("Next VOBU with Video %08x\n", vobu_sri->next_video); @@ -231,7 +231,7 @@ static void navPrint_SYNCI(synci_t *synci) { int i; - + printf("synci:\n"); /* $$$ more code needed here */ for(i = 0; i < 8; i++)