[DVDnav-discuss] r1152 - trunk/libdvdread/src/ifo_print.c

diego subversion at mplayerhq.hu
Fri Sep 26 00:09:59 CEST 2008


Author: diego
Date: Fri Sep 26 00:09:59 2008
New Revision: 1152

Log:
cosmetics: function renaming from libdvdread 0.9.5


Modified:
   trunk/libdvdread/src/ifo_print.c

Modified: trunk/libdvdread/src/ifo_print.c
==============================================================================
--- trunk/libdvdread/src/ifo_print.c	(original)
+++ trunk/libdvdread/src/ifo_print.c	Fri Sep 26 00:09:59 2008
@@ -426,7 +426,7 @@ static void ifo_print_subp_attributes(in
 }
 
 
-static void ifo_print_USER_OPS(user_ops_t *user_ops) {
+static void ifoPrint_USER_OPS(user_ops_t *user_ops) {
   uint32_t uops;
   unsigned char *ptr = (unsigned char *)user_ops;
 
@@ -495,7 +495,7 @@ static void ifo_print_USER_OPS(user_ops_
 }
 
 
-void ifo_print_VMGI_MAT(vmgi_mat_t *vmgi_mat) {
+void ifoPrint_VMGI_MAT(vmgi_mat_t *vmgi_mat) {
 
   printf("VMG Identifier: %.12s\n", vmgi_mat->vmg_identifier);
   printf("Last Sector of VMG: %08x\n", vmgi_mat->vmg_last_sector);
@@ -544,7 +544,7 @@ void ifo_print_VMGI_MAT(vmgi_mat_t *vmgi
 }
 
 
-void ifo_print_VTSI_MAT(vtsi_mat_t *vtsi_mat) {
+void ifoPrint_VTSI_MAT(vtsi_mat_t *vtsi_mat) {
   int i;
 
   printf("VTS Identifier: %.12s\n", vtsi_mat->vts_identifier);
@@ -608,7 +608,7 @@ void ifo_print_VTSI_MAT(vtsi_mat_t *vtsi
 }
 
 
-static void ifo_print_PGC_COMMAND_TBL(pgc_command_tbl_t *cmd_tbl) {
+static void ifoPrint_PGC_COMMAND_TBL(pgc_command_tbl_t *cmd_tbl) {
   int i;
 
   if(cmd_tbl == NULL) {
@@ -633,7 +633,7 @@ static void ifo_print_PGC_COMMAND_TBL(pg
 }
 
 
-static void ifo_print_PGC_PROGRAM_MAP(pgc_program_map_t *program_map, int nr) {
+static void ifoPrint_PGC_PROGRAM_MAP(pgc_program_map_t *program_map, int nr) {
   int i;
 
   if(program_map == NULL) {
@@ -647,7 +647,7 @@ static void ifo_print_PGC_PROGRAM_MAP(pg
 }
 
 
-static void ifo_print_CELL_PLAYBACK(cell_playback_t *cell_playback, int nr) {
+static void ifoPrint_CELL_PLAYBACK(cell_playback_t *cell_playback, int nr) {
   int i;
 
   if(cell_playback == NULL) {
@@ -717,7 +717,7 @@ static void ifo_print_CELL_PLAYBACK(cell
   }
 }
 
-static void ifo_print_CELL_POSITION(cell_position_t *cell_position, int nr) {
+static void ifoPrint_CELL_POSITION(cell_position_t *cell_position, int nr) {
   int i;
 
   if(cell_position == NULL) {
@@ -732,7 +732,7 @@ static void ifo_print_CELL_POSITION(cell
 }
 
 
-void ifo_print_PGC(pgc_t *pgc) {
+void ifoPrint_PGC(pgc_t *pgc) {
   int i;
 
   if (!pgc) {
@@ -747,7 +747,7 @@ void ifo_print_PGC(pgc_t *pgc) {
 
   /* If no programs/no time then does this mean anything? */
   printf("Prohibited user operations: ");
-  ifo_print_USER_OPS(&pgc->prohibited_ops);
+  ifoPrint_USER_OPS(&pgc->prohibited_ops);
 
   for(i = 0; i < 8; i++) {
     if(pgc->audio_control[i] & 0x8000) { /* The 'is present' bit */
@@ -782,14 +782,14 @@ void ifo_print_PGC(pgc_t *pgc) {
   }
 
   /* Memmory offsets to div. tables. */
-  ifo_print_PGC_COMMAND_TBL(pgc->command_tbl);
-  ifo_print_PGC_PROGRAM_MAP(pgc->program_map, pgc->nr_of_programs);
-  ifo_print_CELL_PLAYBACK(pgc->cell_playback, pgc->nr_of_cells);
-  ifo_print_CELL_POSITION(pgc->cell_position, pgc->nr_of_cells);
+  ifoPrint_PGC_COMMAND_TBL(pgc->command_tbl);
+  ifoPrint_PGC_PROGRAM_MAP(pgc->program_map, pgc->nr_of_programs);
+  ifoPrint_CELL_PLAYBACK(pgc->cell_playback, pgc->nr_of_cells);
+  ifoPrint_CELL_POSITION(pgc->cell_position, pgc->nr_of_cells);
 }
 
 
-void ifo_print_TT_SRPT(tt_srpt_t *tt_srpt) {
+void ifoPrint_TT_SRPT(tt_srpt_t *tt_srpt) {
   int i;
 
   printf("Number of TitleTrack search pointers: %i\n",
@@ -822,7 +822,7 @@ void ifo_print_TT_SRPT(tt_srpt_t *tt_srp
 }
 
 
-void ifo_print_VTS_PTT_SRPT(vts_ptt_srpt_t *vts_ptt_srpt) {
+void ifoPrint_VTS_PTT_SRPT(vts_ptt_srpt_t *vts_ptt_srpt) {
   int i, j;
   printf(" nr_of_srpts %i last byte %i\n",
          vts_ptt_srpt->nr_of_srpts,
@@ -843,7 +843,7 @@ static void hexdump(uint8_t *ptr, int le
     printf("%02x ", *ptr++);
 }
 
-void ifo_print_PTL_MAIT(ptl_mait_t *ptl_mait) {
+void ifoPrint_PTL_MAIT(ptl_mait_t *ptl_mait) {
   int i, j;
 
   printf("Number of Countries: %i\n", ptl_mait->nr_of_countries);
@@ -872,7 +872,7 @@ void ifo_print_PTL_MAIT(ptl_mait_t *ptl_
   }
 }
 
-void ifo_print_VTS_TMAPT(vts_tmapt_t *vts_tmapt) {
+void ifoPrint_VTS_TMAPT(vts_tmapt_t *vts_tmapt) {
   unsigned int timeunit;
   int i, j;
 
@@ -895,7 +895,7 @@ void ifo_print_VTS_TMAPT(vts_tmapt_t *vt
   }
 }
 
-void ifo_print_C_ADT(c_adt_t *c_adt) {
+void ifoPrint_C_ADT(c_adt_t *c_adt) {
   int i, entries;
 
   printf("Number of VOBs in this VOBS: %i\n", c_adt->nr_of_vobs);
@@ -912,7 +912,7 @@ void ifo_print_C_ADT(c_adt_t *c_adt) {
 }
 
 
-void ifo_print_VOBU_ADMAP(vobu_admap_t *vobu_admap) {
+void ifoPrint_VOBU_ADMAP(vobu_admap_t *vobu_admap) {
   int i, entries;
 
   entries = (vobu_admap->last_byte + 1 - VOBU_ADMAP_SIZE)/4;
@@ -952,7 +952,7 @@ const char *ifo_print_menu_name(int type
 }
 
 /* pgc_type=1 for menu, 0 for title. */
-void ifo_print_PGCIT(pgcit_t *pgcit, int pgc_type) {
+void ifoPrint_PGCIT(pgcit_t *pgcit, int pgc_type) {
   int i;
 
   printf("\nNumber of Program Chains: %3i\n", pgcit->nr_of_pgci_srp);
@@ -971,12 +971,12 @@ void ifo_print_PGCIT(pgcit_t *pgcit, int
               pgcit->pgci_srp[i].entry_id);
     }
     printf("Parental ID mask 0x%04x\n", pgcit->pgci_srp[i].ptl_id_mask);
-    ifo_print_PGC(pgcit->pgci_srp[i].pgc);
+    ifoPrint_PGC(pgcit->pgci_srp[i].pgc);
   }
 }
 
 
-void ifo_print_PGCI_UT(pgci_ut_t *pgci_ut) {
+void ifoPrint_PGCI_UT(pgci_ut_t *pgci_ut) {
   int i, menu;
 
   printf("Number of Menu Language Units (PGCI_LU): %3i\n", pgci_ut->nr_of_lus);
@@ -1016,12 +1016,12 @@ void ifo_print_PGCI_UT(pgci_ut_t *pgci_u
       menu^=0x08;
     }
     printf("\n");
-    ifo_print_PGCIT(pgci_ut->lu[i].pgcit, 1);
+    ifoPrint_PGCIT(pgci_ut->lu[i].pgcit, 1);
   }
 }
 
 
-static void ifo_print_VTS_ATTRIBUTES(vts_attributes_t *vts_attributes) {
+static void ifoPrint_VTS_ATTRIBUTES(vts_attributes_t *vts_attributes) {
   int i;
 
   printf("VTS_CAT Application type: %08x\n", vts_attributes->vts_cat);
@@ -1065,13 +1065,13 @@ static void ifo_print_VTS_ATTRIBUTES(vts
 }
 
 
-void ifo_print_VTS_ATRT(vts_atrt_t *vts_atrt) {
+void ifoPrint_VTS_ATRT(vts_atrt_t *vts_atrt) {
   int i;
 
   printf("Number of Video Title Sets: %3i\n", vts_atrt->nr_of_vtss);
   for(i = 0; i < vts_atrt->nr_of_vtss; i++) {
     printf("\nVideo Title Set %i\n", i + 1);
-    ifo_print_VTS_ATTRIBUTES(&vts_atrt->vts[i]);
+    ifoPrint_VTS_ATTRIBUTES(&vts_atrt->vts[i]);
   }
 }
 
@@ -1089,22 +1089,22 @@ void ifo_print(dvd_reader_t *dvd, int ti
   if(ifohandle->vmgi_mat) {
 
     printf("VMG top level\n-------------\n");
-    ifo_print_VMGI_MAT(ifohandle->vmgi_mat);
+    ifoPrint_VMGI_MAT(ifohandle->vmgi_mat);
 
     printf("\nFirst Play PGC\n--------------\n");
     if(ifohandle->first_play_pgc)
-      ifo_print_PGC(ifohandle->first_play_pgc);
+      ifoPrint_PGC(ifohandle->first_play_pgc);
     else
       printf("No First Play PGC present\n");
 
     printf("\nTitle Track search pointer table\n");
     printf(  "------------------------------------------------\n");
-    ifo_print_TT_SRPT(ifohandle->tt_srpt);
+    ifoPrint_TT_SRPT(ifohandle->tt_srpt);
 
     printf("\nMenu PGCI Unit table\n");
     printf(  "--------------------\n");
     if(ifohandle->pgci_ut) {
-      ifo_print_PGCI_UT(ifohandle->pgci_ut);
+      ifoPrint_PGCI_UT(ifohandle->pgci_ut);
     } else {
       printf("No PGCI Unit table present\n");
     }
@@ -1112,14 +1112,14 @@ void ifo_print(dvd_reader_t *dvd, int ti
     printf("\nParental Manegment Information table\n");
     printf(  "------------------------------------\n");
     if(ifohandle->ptl_mait) {
-      ifo_print_PTL_MAIT(ifohandle->ptl_mait);
+      ifoPrint_PTL_MAIT(ifohandle->ptl_mait);
     } else {
       printf("No Parental Management Information present\n");
     }
 
     printf("\nVideo Title Set Attribute Table\n");
     printf(  "-------------------------------\n");
-    ifo_print_VTS_ATRT(ifohandle->vts_atrt);
+    ifoPrint_VTS_ATRT(ifohandle->vts_atrt);
 
     printf("\nText Data Manager Information\n");
     printf(  "-----------------------------\n");
@@ -1132,7 +1132,7 @@ void ifo_print(dvd_reader_t *dvd, int ti
     printf("\nMenu Cell Adress table\n");
     printf(  "-----------------\n");
     if(ifohandle->menu_c_adt) {
-      ifo_print_C_ADT(ifohandle->menu_c_adt);
+      ifoPrint_C_ADT(ifohandle->menu_c_adt);
     } else {
       printf("No Menu Cell Adress table present\n");
     }
@@ -1140,7 +1140,7 @@ void ifo_print(dvd_reader_t *dvd, int ti
     printf("\nVideo Manager Menu VOBU address map\n");
     printf(  "-----------------\n");
     if(ifohandle->menu_vobu_admap) {
-      ifo_print_VOBU_ADMAP(ifohandle->menu_vobu_admap);
+      ifoPrint_VOBU_ADMAP(ifohandle->menu_vobu_admap);
     } else {
       printf("No Menu VOBU address map present\n");
     }
@@ -1150,20 +1150,20 @@ void ifo_print(dvd_reader_t *dvd, int ti
   if(ifohandle->vtsi_mat) {
 
     printf("VTS top level\n-------------\n");
-    ifo_print_VTSI_MAT(ifohandle->vtsi_mat);
+    ifoPrint_VTSI_MAT(ifohandle->vtsi_mat);
 
     printf("\nPart of Title Track search pointer table\n");
     printf(  "----------------------------------------------\n");
-    ifo_print_VTS_PTT_SRPT(ifohandle->vts_ptt_srpt);
+    ifoPrint_VTS_PTT_SRPT(ifohandle->vts_ptt_srpt);
 
     printf("\nPGCI Unit table\n");
     printf(  "--------------------\n");
-    ifo_print_PGCIT(ifohandle->vts_pgcit, 0);
+    ifoPrint_PGCIT(ifohandle->vts_pgcit, 0);
 
     printf("\nMenu PGCI Unit table\n");
     printf(  "--------------------\n");
     if(ifohandle->pgci_ut) {
-      ifo_print_PGCI_UT(ifohandle->pgci_ut);
+      ifoPrint_PGCI_UT(ifohandle->pgci_ut);
     } else {
       printf("No Menu PGCI Unit table present\n");
     }
@@ -1171,7 +1171,7 @@ void ifo_print(dvd_reader_t *dvd, int ti
     printf("\nVTS Time Map table\n");
     printf(  "-----------------\n");
     if(ifohandle->vts_tmapt) {
-      ifo_print_VTS_TMAPT(ifohandle->vts_tmapt);
+      ifoPrint_VTS_TMAPT(ifohandle->vts_tmapt);
     } else {
       printf("No VTS Time Map table present\n");
     }
@@ -1179,7 +1179,7 @@ void ifo_print(dvd_reader_t *dvd, int ti
     printf("\nMenu Cell Adress table\n");
     printf(  "-----------------\n");
     if(ifohandle->menu_c_adt) {
-      ifo_print_C_ADT(ifohandle->menu_c_adt);
+      ifoPrint_C_ADT(ifohandle->menu_c_adt);
     } else {
       printf("No Cell Adress table present\n");
     }
@@ -1187,18 +1187,18 @@ void ifo_print(dvd_reader_t *dvd, int ti
     printf("\nVideo Title Set Menu VOBU address map\n");
     printf(  "-----------------\n");
     if(ifohandle->menu_vobu_admap) {
-      ifo_print_VOBU_ADMAP(ifohandle->menu_vobu_admap);
+      ifoPrint_VOBU_ADMAP(ifohandle->menu_vobu_admap);
     } else {
       printf("No Menu VOBU address map present\n");
     }
 
     printf("\nCell Adress table\n");
     printf(  "-----------------\n");
-    ifo_print_C_ADT(ifohandle->vts_c_adt);
+    ifoPrint_C_ADT(ifohandle->vts_c_adt);
 
     printf("\nVideo Title Set VOBU address map\n");
     printf(  "-----------------\n");
-    ifo_print_VOBU_ADMAP(ifohandle->vts_vobu_admap);
+    ifoPrint_VOBU_ADMAP(ifohandle->vts_vobu_admap);
   }
 
   ifoClose(ifohandle);



More information about the DVDnav-discuss mailing list