diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-22 16:18:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-22 16:18:04 +0100 |
| commit | 28ad2d566af1f59274fd1e16f6ba5da7479fc197 (patch) | |
| tree | dc91c6dd67aa0eb2e2272ebee37f793c02880a2b /doc | |
| parent | e75aef94aa603f5fa464a2b01ad4a19ce9f72c41 (diff) | |
Comment tweaks.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/mainpage.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/mainpage.txt b/doc/mainpage.txt index f4394926..6f202556 100644 --- a/doc/mainpage.txt +++ b/doc/mainpage.txt @@ -115,12 +115,12 @@ do things like @code boost::shared_ptr<libdcp::PictureAsset> p = dcp.picture_asset (); -boost::shared_ptr<libdcp::RGBAFrame> f = p->get_frame(42)->rgba_frame (); +boost::shared_ptr<libdcp::ARGBFrame> f = p->get_frame(42)->rgba_frame (); uint8_t* data = f->data (); int size = f->size (); @endcode -This will extract the image of frame 42 from the DCP and make its RGBA data available +This will extract the image of frame 42 from the DCP and make its ARGB data available for examination. Audio data is accessed in chunks equal in length to the duration of a video frame. To @@ -134,7 +134,7 @@ uint8_t* data = f->data (); int size = f->size (); @endcode -The returned data is interleaved 24-bit samples, so that +The returned data are interleaved 24-bit samples, so that @code int left = data[0] | (data[1] << 8) | (data[2] << 16); |
