usage_dx.dox 955 B

1234567891011121314151617181920212223
  1. /*! \page usage_decode Decoding
  2. The aom_codec_decode() function is at the core of the decode loop. It
  3. processes packets of compressed data passed by the application, producing
  4. decoded images. The decoder expects packets to comprise exactly one image
  5. frame of data. Packets \ref MUST be passed in decode order. If the
  6. application wishes to associate some data with the frame, the
  7. <code>user_priv</code> member may be set.
  8. \ref samples
  9. \section usage_frame_iter Frame Iterator Based Decoding
  10. Decoded frames are made available to the application
  11. through the aom_codec_get_frame() iterator. The application initializes the
  12. iterator storage (of type #aom_codec_iter_t) to NULL, then calls
  13. aom_codec_get_frame repeatedly until it returns NULL, indicating that all
  14. images have been returned. This process may result in zero, one, or many
  15. frames that are ready for display, depending on the codec.
  16. */