WebM VP8 Codec SDK: Sample Code

WebM VP8 Codec SDK

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

Sample Code

This SDK includes a number of sample applications. each sample documents a feature of the SDK in both prose and the associated C code. In general, later samples build upon prior samples, so it is best to work through the list in order. The following samples are included:

- simple_decoder.c Simplified decoder loop
- postproc.c Decoder postprocessor control
- decode_to_md5.c Frame by frame MD5 checksum
- simple_encoder.c Simplified encoder loop
- twopass_encoder.c Two-pass encoder loop
- force_keyframe.c Force generation of keyframes
- decode_with_drops.c Drops frames while decoding
- error_resilient.c Error Resiliency Feature
- vp8_set_maps.c VP8 set active and ROI maps
- vp8cx_set_ref.c VP8 set encoder reference frame

In addition, the SDK contains a number of utilities. Since these utilities are built upon the concepts described in the sample code listed above, they are not documented in pieces like the samples are. Thir sourcre is included here for reference. The following utilities are included:

- vpxdec Full featured decoder
- vpxenc Full featured encoder
- vp8_scalable_patterns Temporal Scalability Encoder
- vp9_spatial_scalable_encoder Spatial Scalable Encoder