[svn] / branches / dev-api-4 / xvidcore / examples / xvid_encraw.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/examples/xvid_encraw.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1031, Sat May 17 13:26:51 2003 UTC revision 1034, Sun May 18 12:24:55 2003 UTC
# Line 19  Line 19 
19   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: xvid_encraw.c,v 1.11.2.25 2003-05-17 13:21:26 suxen_drol Exp $   * $Id: xvid_encraw.c,v 1.11.2.26 2003-05-18 12:24:55 edgomez Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 321  Line 321 
321                          ARG_OUTPUTFILE = argv[i];                          ARG_OUTPUTFILE = argv[i];
322                  } else if (strcmp("-vop_debug", argv[i]) == 0) {                  } else if (strcmp("-vop_debug", argv[i]) == 0) {
323                          ARG_VOPDEBUG = 1;                          ARG_VOPDEBUG = 1;
   
324                  } else if (strcmp("-help", argv[i])) {                  } else if (strcmp("-help", argv[i])) {
325                          usage();                          usage();
326                          return (0);                          return (0);
# Line 659  Line 658 
658          fprintf(stderr, " -packed         : packed mode\n");          fprintf(stderr, " -packed         : packed mode\n");
659          fprintf(stderr, " -lumimasking    : use lumimasking algorithm\n");          fprintf(stderr, " -lumimasking    : use lumimasking algorithm\n");
660          fprintf(stderr, " -stats          : print stats about encoded frames\n");          fprintf(stderr, " -stats          : print stats about encoded frames\n");
661          fprintf(stderr, " -debug          : print all MB dquants\n");          fprintf(stderr, " -debug          : activates xvidcore internal debugging output\n");
662            fprintf(stderr, " -vop_debug      : print some info directly into encoded frames\n");
663          fprintf(stderr, " -help           : prints this help message\n");          fprintf(stderr, " -help           : prints this help message\n");
664          fprintf(stderr, "\n");          fprintf(stderr, "\n");
665          fprintf(stderr, "NB: You can define %d zones repeating the -z[qw] option as many times as needed.\n", MAX_ZONES);          fprintf(stderr, "NB: You can define %d zones repeating the -z[qw] option as many times as needed.\n", MAX_ZONES);
# Line 813  Line 813 
813          /* Set version -- version checking will done by xvidcore */          /* Set version -- version checking will done by xvidcore */
814          memset(&xvid_gbl_init, 0, sizeof(xvid_gbl_init));          memset(&xvid_gbl_init, 0, sizeof(xvid_gbl_init));
815          xvid_gbl_init.version = XVID_VERSION;          xvid_gbl_init.version = XVID_VERSION;
     printf("0x%x\n", ARG_DEBUG);  
816      xvid_gbl_init.debug = ARG_DEBUG;      xvid_gbl_init.debug = ARG_DEBUG;
817    
818    
# Line 894  Line 893 
893                  xvid_enc_create.num_plugins++;                  xvid_enc_create.num_plugins++;
894          }          }
895    
896          /* if (ARG_DEBUG) {  #if 0
897            if (ARG_DEBUG) {
898                  plugins[xvid_enc_create.num_plugins].func = rawenc_debug;                  plugins[xvid_enc_create.num_plugins].func = rawenc_debug;
899                  plugins[xvid_enc_create.num_plugins].param = NULL;                  plugins[xvid_enc_create.num_plugins].param = NULL;
900                  xvid_enc_create.num_plugins++;                  xvid_enc_create.num_plugins++;
901          }*/          }
902    #endif
903    
904          /* No fancy thread tests */          /* No fancy thread tests */
905          xvid_enc_create.num_threads = 0;          xvid_enc_create.num_threads = 0;
# Line 913  Line 914 
914          }          }
915    
916          /* Maximum key frame interval */          /* Maximum key frame interval */
   
917      if (ARG_MAXKEYINTERVAL > 0) {      if (ARG_MAXKEYINTERVAL > 0) {
918          xvid_enc_create.max_key_interval = ARG_MAXKEYINTERVAL;          xvid_enc_create.max_key_interval = ARG_MAXKEYINTERVAL;
919      }else {      }else {

Legend:
Removed from v.1031  
changed lines
  Added in v.1034

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4