From dfa9ad91efa32959ed7b5c971aa6181a1704455d Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 20 Sep 2011 23:10:25 +0000 Subject: More TIFF logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3965 42af7a65-404d-4744-a932-0658087f49c3 --- apps/graphics/tiff/tiff_addstrip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/graphics/tiff/tiff_addstrip.c') diff --git a/apps/graphics/tiff/tiff_addstrip.c b/apps/graphics/tiff/tiff_addstrip.c index 360c71fc8..a31b6622d 100644 --- a/apps/graphics/tiff/tiff_addstrip.c +++ b/apps/graphics/tiff/tiff_addstrip.c @@ -75,20 +75,20 @@ * Name: tiff_addstrip * * Description: - * Add an image data strip. + * Add an image data strip. The size of the strip in pixels must be equal + * to the RowsPerStrip x ImageWidth values that were provided to + * tiff_initialize(). * * Input Parameters: * info - A pointer to the caller allocated parameter passing/TIFF state instance. * buffer - A buffer containing a single row of data. - * npixels - The number of pixels (not necessarily bytes) in the row of data. * * Returned Value: * Zero (OK) on success. A negated errno value on failure. * ****************************************************************************/ -int tiff_addstrip(FAR struct tiff_info_s *info, FAR uint8_t *buffer, - nxgl_coord_t npixels) +int tiff_addstrip(FAR struct tiff_info_s *info, FAR uint8_t *strip) { #warning "Missing logic" return -ENOSYS; -- cgit v1.2.3