[svn] / branches / dev-api-4 / xvidcore / src / xvid.h Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/xvid.h

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

revision 1259, Fri Dec 12 14:16:40 2003 UTC revision 1267, Wed Dec 17 15:16:16 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.h,v 1.27.2.52 2003-12-12 14:16:40 edgomez Exp $   * $Id: xvid.h,v 1.27.2.53 2003-12-17 15:16:16 edgomez Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 57  Line 57 
57  #define XVID_API_MAJOR(a)        (((a)>>16) & 0xff)  #define XVID_API_MAJOR(a)        (((a)>>16) & 0xff)
58  #define XVID_API_MINOR(a)        (((a)>> 0) & 0xff)  #define XVID_API_MINOR(a)        (((a)>> 0) & 0xff)
59    
60  #define XVID_VERSION             XVID_MAKE_VERSION(1,0,-127)  #define XVID_VERSION             XVID_MAKE_VERSION(1,0,-126)
61  #define XVID_API                 XVID_MAKE_API(4, 0)  #define XVID_API                 XVID_MAKE_API(4, 0)
62    
63  #define XVID_UNSTABLE  #define XVID_UNSTABLE
# Line 218  Line 218 
218  #define XVID_GBL_INFO    1 /* return some info about xvidcore, and the host computer */  #define XVID_GBL_INFO    1 /* return some info about xvidcore, and the host computer */
219  #define XVID_GBL_CONVERT 2 /* colorspace conversion utility */  #define XVID_GBL_CONVERT 2 /* colorspace conversion utility */
220    
221  int xvid_global(void *handle, int opt, void *param1, void *param2);  extern int xvid_global(void *handle, int opt, void *param1, void *param2);
222    
223    
224  /*****************************************************************************  /*****************************************************************************
# Line 229  Line 229 
229  #define XVID_DEC_DESTROY 1 /* destroy decore instance: return 0 on success */  #define XVID_DEC_DESTROY 1 /* destroy decore instance: return 0 on success */
230  #define XVID_DEC_DECODE  2 /* decode a frame: returns number of bytes consumed >= 0 */  #define XVID_DEC_DECODE  2 /* decode a frame: returns number of bytes consumed >= 0 */
231    
232  int xvid_decore(void *handle, int opt, void *param1, void *param2);  extern int xvid_decore(void *handle, int opt, void *param1, void *param2);
233    
234  /* XVID_DEC_CREATE param 1  /* XVID_DEC_CREATE param 1
235          image width & height may be specified here when the dimensions are          image width & height may be specified here when the dimensions are
# Line 286  Line 286 
286          } data;          } data;
287  } xvid_dec_stats_t;  } xvid_dec_stats_t;
288    
   
   
289  #define XVID_ZONE_QUANT  (1<<0)  #define XVID_ZONE_QUANT  (1<<0)
290  #define XVID_ZONE_WEIGHT (1<<1)  #define XVID_ZONE_WEIGHT (1<<1)
291    
# Line 300  Line 298 
298  } xvid_enc_zone_t;  } xvid_enc_zone_t;
299    
300    
301    /*----------------------------------------------------------------------------
302     * xvid_enc_stats_t structure
303     *
304     * Used in:
305     *  - xvid_plg_data_t structure
306     *  - optional parameter in xvid_encore() function
307     *
308     * .coding_type = XVID_TYPE_NOTHING if the stats are not given
309     *--------------------------------------------------------------------------*/
310    
311    typedef struct {
312            int version;
313    
314            /* encoding parameters */
315            int type;      /* [out] coding type */
316            int quant;     /* [out] frame quantizer */
317            int vol_flags; /* [out] vol flags (see above) */
318            int vop_flags; /* [out] vop flags (see above) */
319    
320            /* bitrate */
321            int length;    /* [out] frame length */
322    
323            int hlength;   /* [out] header length (bytes) */
324            int kblks;     /* [out] number of blocks compressed as Intra */
325            int mblks;     /* [out] number of blocks compressed as Inter */
326            int ublks;     /* [out] number of blocks marked as not_coded */
327    
328            int sse_y;     /* [out] Y plane's sse */
329            int sse_u;     /* [out] U plane's sse */
330            int sse_v;     /* [out] V plane's sse */
331    } xvid_enc_stats_t;
332    
333  /*****************************************************************************  /*****************************************************************************
334    xvid plugin system -- internals    xvid plugin system -- internals
# Line 356  Line 385 
385          int num_frames; /* [out] total frame encoded */          int num_frames; /* [out] total frame encoded */
386  } xvid_plg_destroy_t;  } xvid_plg_destroy_t;
387    
   
388  typedef struct  typedef struct
389  {  {
390          int version;          int version;
# Line 388  Line 416 
416          int vol_flags;          /* [in,out] */          int vol_flags;          /* [in,out] */
417          int motion_flags;       /* [in,out] */          int motion_flags;       /* [in,out] */
418    
419    /* Deprecated, use the stats field instead.
420     * Will disapear before 1.0 */
421          int length;             /* [out] after: length of encoded frame */          int length;             /* [out] after: length of encoded frame */
422          int kblks;              /* [out] number of blocks compressed as Intra */          int kblks;              /* [out] number of blocks compressed as Intra */
423          int mblks;              /* [out] number of blocks compressed as Inter */          int mblks;              /* [out] number of blocks compressed as Inter */
# Line 395  Line 425 
425          int sse_y;              /* [out] Y plane's sse */          int sse_y;              /* [out] Y plane's sse */
426          int sse_u;              /* [out] U plane's sse */          int sse_u;              /* [out] U plane's sse */
427          int sse_v;              /* [out] V plane's sse */          int sse_v;              /* [out] V plane's sse */
428    /* End of duplicated data, kept only for binary compatibility */
429    
430          int bquant_ratio;       /* [in] */          int bquant_ratio;       /* [in] */
431          int bquant_offset;      /* [in] */          int bquant_offset;      /* [in] */
 } xvid_plg_data_t;  
432    
433            xvid_enc_stats_t stats; /* [out] frame statistics */
434    } xvid_plg_data_t;
435    
436  /*****************************************************************************  /*****************************************************************************
437    xvid plugin system -- external    xvid plugin system -- external
# Line 429  Line 462 
462  } xvid_enc_plugin_t;  } xvid_enc_plugin_t;
463    
464    
465  xvid_plugin_func xvid_plugin_single;   /* single-pass rate control */  extern xvid_plugin_func xvid_plugin_single;   /* single-pass rate control */
466  xvid_plugin_func xvid_plugin_2pass1;   /* two-pass rate control: first pass */  extern xvid_plugin_func xvid_plugin_2pass1;   /* two-pass rate control: first pass */
467  xvid_plugin_func xvid_plugin_2pass2;   /* two-pass rate control: second pass */  extern xvid_plugin_func xvid_plugin_2pass2;   /* two-pass rate control: second pass */
468    
469  xvid_plugin_func xvid_plugin_lumimasking;  /* lumimasking */  extern xvid_plugin_func xvid_plugin_lumimasking;  /* lumimasking */
470    
471  xvid_plugin_func xvid_plugin_psnr;      /* write psnr values to stdout */  extern xvid_plugin_func xvid_plugin_psnr;       /* write psnr values to stdout */
472  xvid_plugin_func xvid_plugin_dump;      /* dump before and after yuvpgms */  extern xvid_plugin_func xvid_plugin_dump;       /* dump before and after yuvpgms */
473    
474    
475  /* single pass rate control  /* single pass rate control
# Line 484  Line 517 
517          int container_frame_overhead; /* [in] How many bytes the controller has to compensate per frame due to container format overhead */          int container_frame_overhead; /* [in] How many bytes the controller has to compensate per frame due to container format overhead */
518  }xvid_plugin_2pass2_t;  }xvid_plugin_2pass2_t;
519    
   
520  /*****************************************************************************  /*****************************************************************************
521   * xvid_encore()   *                             ENCODER API
522   ****************************************************************************/   ****************************************************************************/
523    
524  /* Encoder options */  /*----------------------------------------------------------------------------
525     * Encoder operations
526     *--------------------------------------------------------------------------*/
527    
528  #define XVID_ENC_CREATE  0 /* create encoder instance; returns 0 on success */  #define XVID_ENC_CREATE  0 /* create encoder instance; returns 0 on success */
529  #define XVID_ENC_DESTROY 1 /* destroy encoder instance; returns 0 on success */  #define XVID_ENC_DESTROY 1 /* destroy encoder instance; returns 0 on success */
530  #define XVID_ENC_ENCODE  2 /* encode a frame: returns number of ouput bytes  #define XVID_ENC_ENCODE  2 /* encode a frame: returns number of ouput bytes
531                              * 0 means this frame should not be written (ie. encoder lag) */                              * 0 means this frame should not be written (ie. encoder lag) */
532    
 int xvid_encore(void *handle, int opt, void *param1, void *param2);  
533    
534    /*----------------------------------------------------------------------------
535     * Encoder entry point
536     *--------------------------------------------------------------------------*/
537    
538    extern int xvid_encore(void *handle, int opt, void *param1, void *param2);
539    
540    /* Quick API reference
541     *
542     * XVID_ENC_CREATE operation
543     *  - handle: ignored
544     *  - opt: XVID_ENC_CREATE
545     *  - param1: address of a xvid_enc_create_t structure
546     *  - param2: ignored
547     *
548     * XVID_ENC_ENCODE operation
549     *  - handle: an instance returned by a CREATE op
550     *  - opt: XVID_ENC_ENCODE
551     *  - param1: address of a xvid_enc_frame_t structure
552     *  - param2: address of a xvid_enc_stats_t structure (optional)
553     *            its return value is asynchronous to what is written to the buffer
554     *            depending on the delay introduced by bvop use. It's display
555     *            ordered.
556     *
557     * XVID_ENC_DESTROY operation
558     *  - handle: an instance returned by a CREATE op
559     *  - opt: XVID_ENC_DESTROY
560     *  - param1: ignored
561     *  - param2: ignored
562     */
563    
564    
565  /* Global Flags */  /*----------------------------------------------------------------------------
566     * "Global" flags
567     *
568     * These flags are used for xvid_enc_create_t->global field during instance
569     * creation (operation XVID_ENC_CREATE)
570     *--------------------------------------------------------------------------*/
571    
572  #define XVID_GLOBAL_PACKED            (1<<0) /* packed bitstream */  #define XVID_GLOBAL_PACKED            (1<<0) /* packed bitstream */
573  #define XVID_GLOBAL_CLOSED_GOP        (1<<1) /* closed_gop:     was DX50BVOP dx50 bvop compatibility */  #define XVID_GLOBAL_CLOSED_GOP        (1<<1) /* closed_gop:     was DX50BVOP dx50 bvop compatibility */
574  #define XVID_GLOBAL_EXTRASTATS_ENABLE (1<<2)  #define XVID_GLOBAL_EXTRASTATS_ENABLE (1<<2)
# Line 509  Line 578 
578  #endif  #endif
579    
580    
581  /* XVID_ENC_ENCODE param1 */  /*----------------------------------------------------------------------------
582  /* vol-based flags */   * "VOL" flags
583     *
584     * These flags are used for xvid_enc_frame_t->vol_flags field during frame
585     * encoding (operation XVID_ENC_ENCODE)
586     *--------------------------------------------------------------------------*/
587    
588  #define XVID_VOL_MPEGQUANT      (1<<0) /* enable MPEG type quantization */  #define XVID_VOL_MPEGQUANT      (1<<0) /* enable MPEG type quantization */
589  #define XVID_VOL_EXTRASTATS     (1<<1) /* enable plane sse stats */  #define XVID_VOL_EXTRASTATS     (1<<1) /* enable plane sse stats */
590  #define XVID_VOL_QUARTERPEL     (1<<2) /* enable quarterpel: frames will encoded as quarterpel */  #define XVID_VOL_QUARTERPEL     (1<<2) /* enable quarterpel: frames will encoded as quarterpel */
# Line 519  Line 593 
593  #define XVID_VOL_INTERLACING    (1<<5) /* enable interlaced encoding */  #define XVID_VOL_INTERLACING    (1<<5) /* enable interlaced encoding */
594    
595    
596    /*----------------------------------------------------------------------------
597     * "VOP" flags
598     *
599     * These flags are used for xvid_enc_frame_t->vop_flags field during frame
600     * encoding (operation XVID_ENC_ENCODE)
601     *--------------------------------------------------------------------------*/
602    
603  /* vop based flags */  /* Always valid */
604  #define XVID_VOP_DEBUG           (1<< 0)  #define XVID_VOP_DEBUG                (1<< 0) /* print debug messages in frames */
605  #define XVID_VOP_HALFPEL         (1<< 1) /* use halfpel interpolation */  #define XVID_VOP_HALFPEL         (1<< 1) /* use halfpel interpolation */
606  #define XVID_VOP_INTER4V         (1<< 2)  #define XVID_VOP_INTER4V              (1<< 2) /* use 4 motion vectors per MB */
607  #define XVID_VOP_TRELLISQUANT    (1<< 3) /* use trellis based R-D "optimal" quantization */  #define XVID_VOP_TRELLISQUANT    (1<< 3) /* use trellis based R-D "optimal" quantization */
608  #define XVID_VOP_CHROMAOPT       (1<< 4) /* enable chroma optimization pre-filter */  #define XVID_VOP_CHROMAOPT       (1<< 4) /* enable chroma optimization pre-filter */
609  #define XVID_VOP_CARTOON         (1<< 5) /* use 'cartoon mode' */  #define XVID_VOP_CARTOON         (1<< 5) /* use 'cartoon mode' */
610  #define XVID_VOP_GREYSCALE       (1<< 6) /* enable greyscale only mode (even for  color input material chroma is ignored) */  #define XVID_VOP_GREYSCALE       (1<< 6) /* enable greyscale only mode (even for  color input material chroma is ignored) */
611  #define XVID_VOP_HQACPRED        (1<< 7) /* high quality ac prediction */  #define XVID_VOP_HQACPRED        (1<< 7) /* high quality ac prediction */
612  #define XVID_VOP_MODEDECISION_RD (1<< 8) /* enable DCT-ME and use it for mode decision */  #define XVID_VOP_MODEDECISION_RD (1<< 8) /* enable DCT-ME and use it for mode decision */
613  /* only valid for vol_flags|=XVID_VOL_INTERLACING */  #define XVID_VOP_FAST_MODEDECISION_RD (1<<12) /* use simplified R-D mode decision */
614    
615    /* Only valid for vol_flags|=XVID_VOL_INTERLACING */
616  #define XVID_VOP_TOPFIELDFIRST   (1<< 9) /* set top-field-first flag  */  #define XVID_VOP_TOPFIELDFIRST   (1<< 9) /* set top-field-first flag  */
617  #define XVID_VOP_ALTERNATESCAN   (1<<10) /* set alternate vertical scan flag */  #define XVID_VOP_ALTERNATESCAN   (1<<10) /* set alternate vertical scan flag */
618    
619  /* only valid for vol_flags|=XVID_VOL_REDUCED_ENABLED */  /* only valid for vol_flags|=XVID_VOL_REDUCED_ENABLED */
620  #define XVID_VOP_REDUCED         (1<<11) /* reduced resolution vop */  #define XVID_VOP_REDUCED         (1<<11) /* reduced resolution vop */
621    
 #define XVID_VOP_FAST_MODEDECISION_RD (1<< 12) /* use simplified R-D mode decision */  
   
622    
623    /*----------------------------------------------------------------------------
624     * "Motion" flags
625     *
626     * These flags are used for xvid_enc_frame_t->motion field during frame
627     * encoding (operation XVID_ENC_ENCODE)
628     *--------------------------------------------------------------------------*/
629    
630  /* Motion based flags */  /* Motion Estimation Search Patterns */
631  #define XVID_ME_ADVANCEDDIAMOND16     (1<< 0) /* use advdiamonds instead of diamonds as search pattern */  #define XVID_ME_ADVANCEDDIAMOND16     (1<< 0) /* use advdiamonds instead of diamonds as search pattern */
632  #define XVID_ME_ADVANCEDDIAMOND8      (1<< 1) /* use advdiamond for XVID_ME_EXTSEARCH8 */  #define XVID_ME_ADVANCEDDIAMOND8      (1<< 1) /* use advdiamond for XVID_ME_EXTSEARCH8 */
633  #define XVID_ME_USESQUARES16          (1<< 2) /* use squares instead of diamonds as search pattern */  #define XVID_ME_USESQUARES16          (1<< 2) /* use squares instead of diamonds as search pattern */
634  #define XVID_ME_USESQUARES8           (1<< 3) /* use square for XVID_ME_EXTSEARCH8 */  #define XVID_ME_USESQUARES8           (1<< 3) /* use square for XVID_ME_EXTSEARCH8 */
635    
636    /* SAD operator based flags */
637  #define XVID_ME_HALFPELREFINE16       (1<< 4)  #define XVID_ME_HALFPELREFINE16       (1<< 4)
638  #define XVID_ME_HALFPELREFINE8        (1<< 6)  #define XVID_ME_HALFPELREFINE8        (1<< 6)
639  #define XVID_ME_QUARTERPELREFINE16    (1<< 7)  #define XVID_ME_QUARTERPELREFINE16    (1<< 7)
# Line 554  Line 643 
643  #define XVID_ME_EXTSEARCH8            (1<<11) /* use diamond/square for extended 8x8 search */  #define XVID_ME_EXTSEARCH8            (1<<11) /* use diamond/square for extended 8x8 search */
644  #define XVID_ME_CHROMA_PVOP           (1<<12) /* also use chroma for P_VOP/S_VOP ME */  #define XVID_ME_CHROMA_PVOP           (1<<12) /* also use chroma for P_VOP/S_VOP ME */
645  #define XVID_ME_CHROMA_BVOP           (1<<13) /* also use chroma for B_VOP ME */  #define XVID_ME_CHROMA_BVOP           (1<<13) /* also use chroma for B_VOP ME */
646    #define XVID_ME_FASTREFINE16              (1<<25) /* use low-complexity refinement functions */
647    
648  /* Motion search using DCT. use XVID_VOP_MODEDECISION_BITS to enable */  /* Rate Distortion based flags
649     * Valid when XVID_VOP_MODEDECISION_BITS is enabled */
650  #define XVID_ME_HALFPELREFINE16_RD    (1<<14) /* perform RD-based halfpel refinement */  #define XVID_ME_HALFPELREFINE16_RD    (1<<14) /* perform RD-based halfpel refinement */
651  #define XVID_ME_HALFPELREFINE8_RD     (1<<15) /* perform RD-based halfpel refinement for 8x8 mode */  #define XVID_ME_HALFPELREFINE8_RD     (1<<15) /* perform RD-based halfpel refinement for 8x8 mode */
652  #define XVID_ME_QUARTERPELREFINE16_RD (1<<16) /* perform RD-based qpel refinement */  #define XVID_ME_QUARTERPELREFINE16_RD (1<<16) /* perform RD-based qpel refinement */
# Line 563  Line 654 
654  #define XVID_ME_EXTSEARCH_RD          (1<<18) /* perform RD-based search using square pattern enable XVID_ME_EXTSEARCH8 to do this in 8x8 search as well */  #define XVID_ME_EXTSEARCH_RD          (1<<18) /* perform RD-based search using square pattern enable XVID_ME_EXTSEARCH8 to do this in 8x8 search as well */
655  #define XVID_ME_CHECKPREDICTION_RD    (1<<19) /* always check vector equal to prediction */  #define XVID_ME_CHECKPREDICTION_RD    (1<<19) /* always check vector equal to prediction */
656    
657    /* Other */
658    #define XVID_ME_DETECT_STATIC_MOTION  (1<<24) /* speed-up ME by detecting stationary scenes */
659    
660    /* Unused */
661  #define XVID_ME_UNRESTRICTED16        (1<<20) /* unrestricted ME, not implemented */  #define XVID_ME_UNRESTRICTED16        (1<<20) /* unrestricted ME, not implemented */
662  #define XVID_ME_OVERLAPPING16         (1<<21) /* overlapping ME, not implemented */  #define XVID_ME_OVERLAPPING16         (1<<21) /* overlapping ME, not implemented */
663  #define XVID_ME_UNRESTRICTED8         (1<<22) /* unrestricted ME, not implemented */  #define XVID_ME_UNRESTRICTED8         (1<<22) /* unrestricted ME, not implemented */
664  #define XVID_ME_OVERLAPPING8          (1<<23) /* overlapping ME, not implemented */  #define XVID_ME_OVERLAPPING8          (1<<23) /* overlapping ME, not implemented */
665    
 #define XVID_ME_DETECT_STATIC_MOTION  (1<<24) /* speed-up ME by detecting stationary scenes */  
 #define XVID_ME_FASTREFINE16              (1<<25) /* use low-complexity refinement functions */  
666    
667  /* XVID_ENC_CREATE param1 */  /*----------------------------------------------------------------------------
668     * xvid_enc_create_t structure definition
669     *
670     * This structure is passed as param1 during an instance creation (operation
671     * XVID_ENC_CREATE)
672     *--------------------------------------------------------------------------*/
673    
674  typedef struct {  typedef struct {
675          int version;          int version;
676    
# Line 608  Line 707 
707          /* ---------------------------------------------- */          /* ---------------------------------------------- */
708    
709          void *handle;                /* [out] encoder instance handle */          void *handle;                /* [out] encoder instance handle */
710  }  } xvid_enc_create_t;
 xvid_enc_create_t;  
711    
712    
713    /*----------------------------------------------------------------------------
714     * xvid_enc_frame_t structure definition
715     *
716     * This structure is passed as param1 during a frame encoding (operation
717     * XVID_ENC_ENCODE)
718     *--------------------------------------------------------------------------*/
719    
720    /* out value for the frame structure->type field
721     * unlike stats output in param2, this field is not asynchronous and tells
722     * the client app, if the frame written into the stream buffer is an ivop
723     * usually used for indexing purpose in the container */
724  #define XVID_KEYFRAME (1<<1)  #define XVID_KEYFRAME (1<<1)
725    
726    /* The structure */
727  typedef struct {  typedef struct {
728          int version;          int version;
729    
730          /* --- VOL related stuff; unless XVID_FORCEVOL is set, the encoder will not react to any changes here until the next VOL (keyframe). */          /* VOL related stuff
731             * unless XVID_FORCEVOL is set, the encoder will not react to any changes
732             * here until the next VOL (keyframe). */
733    
734          int vol_flags;                     /* [in] vol flags */          int vol_flags;                     /* [in] vol flags */
735          unsigned char *quant_intra_matrix; /* [in:opt] custom intra qmatrix */          unsigned char *quant_intra_matrix; /* [in:opt] custom intra qmatrix */
736          unsigned char *quant_inter_matrix; /* [in:opt] custom inter qmatrix */          unsigned char *quant_inter_matrix; /* [in:opt] custom inter qmatrix */
# Line 625  Line 738 
738          int par;                           /* [in:opt] pixel aspect ratio (refer to XVID_PAR_xxx above) */          int par;                           /* [in:opt] pixel aspect ratio (refer to XVID_PAR_xxx above) */
739          int par_width;                     /* [in:opt] aspect ratio width */          int par_width;                     /* [in:opt] aspect ratio width */
740          int par_height;                    /* [in:opt] aspect ratio height */          int par_height;                    /* [in:opt] aspect ratio height */
741          /* ---------------------------------------------- */  
742            /* Other fields that can change on a frame base */
743    
744          int fincr;                         /* [in:opt] framerate increment, for variable framerate only */          int fincr;                         /* [in:opt] framerate increment, for variable framerate only */
745          int vop_flags;                     /* [in] (general)vop-based flags */          int vop_flags;                     /* [in] (general)vop-based flags */
# Line 643  Line 757 
757          int out_flags;                     /* [out] bitstream output flags */          int out_flags;                     /* [out] bitstream output flags */
758  } xvid_enc_frame_t;  } xvid_enc_frame_t;
759    
   
 /* XVID_ENC_ENCODE param2 (optional)  
         xvid_enc_stats_t describes individual frame details  
   
         coding_type==XVID_TYPE_NOTHING if the stats are not given  
 */  
 typedef struct {  
         int version;  
   
         /* encoding parameters */  
         int type;      /* [out] coding type */  
         int quant;     /* [out] frame quantizer */  
         int vol_flags; /* [out] vol flags (see above) */  
         int vop_flags; /* [out] vop flags (see above) */  
   
         /* bitrate */  
         int length;    /* [out] frame length */  
   
         int hlength;   /* [out] header length (bytes) */  
         int kblks;     /* [out] number of blocks compressed as Intra */  
         int mblks;     /* [out] number of blocks compressed as Inter */  
         int ublks;     /* [out] number of blocks marked as not_coded */  
   
         int sse_y;     /* [out] Y plane's sse */  
         int sse_u;     /* [out] U plane's sse */  
         int sse_v;     /* [out] V plane's sse */  
 } xvid_enc_stats_t;  
   
760  #ifdef __cplusplus  #ifdef __cplusplus
761  }  }
762  #endif  #endif
763    
   
764  #endif  #endif

Legend:
Removed from v.1259  
changed lines
  Added in v.1267

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