Mercurial > libdvdread4.hg
comparison nav_print.c @ 26:0d82d0f30c98 src
cosmetics: Convert all tabs to spaces.
| author | diego |
|---|---|
| date | Tue, 23 Sep 2008 09:14:45 +0000 |
| parents | 447c5319a522 |
| children | 98951f8ec89c |
comparison
equal
deleted
inserted
replaced
| 25:17258a7b3239 | 26:0d82d0f30c98 |
|---|---|
| 67 | 67 |
| 68 printf("nsml_agli:\n"); | 68 printf("nsml_agli:\n"); |
| 69 for(i = 0; i < 9; i++) | 69 for(i = 0; i < 9; i++) |
| 70 if(nsml_agli->nsml_agl_dsta[i]) | 70 if(nsml_agli->nsml_agl_dsta[i]) |
| 71 printf("nsml_agl_c%d_dsta 0x%08x\n", i + 1, | 71 printf("nsml_agl_c%d_dsta 0x%08x\n", i + 1, |
| 72 nsml_agli->nsml_agl_dsta[i]); | 72 nsml_agli->nsml_agl_dsta[i]); |
| 73 } | 73 } |
| 74 | 74 |
| 75 static void navPrint_HL_GI(hl_gi_t *hl_gi, int *btngr_ns, int *btn_ns) { | 75 static void navPrint_HL_GI(hl_gi_t *hl_gi, int *btngr_ns, int *btn_ns) { |
| 76 | 76 |
| 77 if((hl_gi->hli_ss & 0x03) == 0) | 77 if((hl_gi->hli_ss & 0x03) == 0) |
| 108 | 108 |
| 109 printf("btn_colit:\n"); | 109 printf("btn_colit:\n"); |
| 110 for(i = 0; i < 3; i++) | 110 for(i = 0; i < 3; i++) |
| 111 for(j = 0; j < 2; j++) | 111 for(j = 0; j < 2; j++) |
| 112 printf("btn_cqoli %d %s_coli: %08x\n", | 112 printf("btn_cqoli %d %s_coli: %08x\n", |
| 113 i, (j == 0) ? "sl" : "ac", | 113 i, (j == 0) ? "sl" : "ac", |
| 114 btn_colit->btn_coli[i][j]); | 114 btn_colit->btn_coli[i][j]); |
| 115 } | 115 } |
| 116 | 116 |
| 117 static void navPrint_BTNIT(btni_t *btni_table, int btngr_ns, int btn_ns) { | 117 static void navPrint_BTNIT(btni_t *btni_table, int btngr_ns, int btn_ns) { |
| 118 int i, j; | 118 int i, j; |
| 119 | 119 |
| 125 return; | 125 return; |
| 126 | 126 |
| 127 for(i = 0; i < btngr_ns; i++) { | 127 for(i = 0; i < btngr_ns; i++) { |
| 128 for(j = 0; j < (36 / btngr_ns); j++) { | 128 for(j = 0; j < (36 / btngr_ns); j++) { |
| 129 if(j < btn_ns) { | 129 if(j < btn_ns) { |
| 130 btni_t *btni = &btni_table[(36 / btngr_ns) * i + j]; | 130 btni_t *btni = &btni_table[(36 / btngr_ns) * i + j]; |
| 131 | 131 |
| 132 printf("group %d btni %d: ", i+1, j+1); | 132 printf("group %d btni %d: ", i+1, j+1); |
| 133 printf("btn_coln %d, auto_action_mode %d\n", | 133 printf("btn_coln %d, auto_action_mode %d\n", |
| 134 btni->btn_coln, btni->auto_action_mode); | 134 btni->btn_coln, btni->auto_action_mode); |
| 135 printf("coords (%d, %d) .. (%d, %d)\n", | 135 printf("coords (%d, %d) .. (%d, %d)\n", |
| 136 btni->x_start, btni->y_start, btni->x_end, btni->y_end); | 136 btni->x_start, btni->y_start, btni->x_end, btni->y_end); |
| 137 | 137 |
| 138 printf("up %d, ", btni->up); | 138 printf("up %d, ", btni->up); |
| 139 printf("down %d, ", btni->down); | 139 printf("down %d, ", btni->down); |
| 140 printf("left %d, ", btni->left); | 140 printf("left %d, ", btni->left); |
| 141 printf("right %d\n", btni->right); | 141 printf("right %d\n", btni->right); |
| 142 | 142 |
| 143 /* ifoPrint_COMMAND(&btni->cmd); */ | 143 /* ifoPrint_COMMAND(&btni->cmd); */ |
| 144 printf("\n"); | 144 printf("\n"); |
| 145 } | 145 } |
| 146 } | 146 } |
| 147 } | 147 } |
| 148 } | 148 } |
| 149 | 149 |
| 203 static void navPrint_SML_AGLI(sml_agli_t *sml_agli) { | 203 static void navPrint_SML_AGLI(sml_agli_t *sml_agli) { |
| 204 int i; | 204 int i; |
| 205 printf("sml_agli:\n"); | 205 printf("sml_agli:\n"); |
| 206 for(i = 0; i < 9; i++) { | 206 for(i = 0; i < 9; i++) { |
| 207 printf("agl_c%d address: 0x%08x size 0x%04x\n", i, | 207 printf("agl_c%d address: 0x%08x size 0x%04x\n", i, |
| 208 sml_agli->data[i].address, sml_agli->data[i].size); | 208 sml_agli->data[i].address, sml_agli->data[i].size); |
| 209 } | 209 } |
| 210 } | 210 } |
| 211 | 211 |
| 212 static void navPrint_VOBU_SRI(vobu_sri_t *vobu_sri) { | 212 static void navPrint_VOBU_SRI(vobu_sri_t *vobu_sri) { |
| 213 int i; | 213 int i; |
| 214 int stime[19] = { 240, 120, 60, 20, 15, 14, 13, 12, 11, | 214 int stime[19] = { 240, 120, 60, 20, 15, 14, 13, 12, 11, |
| 215 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; | 215 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; |
| 216 printf("vobu_sri:\n"); | 216 printf("vobu_sri:\n"); |
| 217 printf("Next VOBU with Video %08x\n", vobu_sri->next_video); | 217 printf("Next VOBU with Video %08x\n", vobu_sri->next_video); |
| 218 for(i = 0; i < 19; i++) { | 218 for(i = 0; i < 19; i++) { |
| 219 printf("%3.1f %08x ", stime[i]/2.0, vobu_sri->fwda[i]); | 219 printf("%3.1f %08x ", stime[i]/2.0, vobu_sri->fwda[i]); |
| 220 } | 220 } |
