summaryrefslogtreecommitdiff
path: root/apps/graphics/tiff/tiff_addstrip.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-20 23:10:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-20 23:10:25 +0000
commitdfa9ad91efa32959ed7b5c971aa6181a1704455d (patch)
treefa3777e1ff36e7e438f9bc8cc16d0b3f724cccec /apps/graphics/tiff/tiff_addstrip.c
parent0e69fff93f13982c5f90a88050bcbd8bd1e0b2d7 (diff)
downloadnuttx-dfa9ad91efa32959ed7b5c971aa6181a1704455d.tar.gz
nuttx-dfa9ad91efa32959ed7b5c971aa6181a1704455d.tar.bz2
nuttx-dfa9ad91efa32959ed7b5c971aa6181a1704455d.zip
More TIFF logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3965 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/graphics/tiff/tiff_addstrip.c')
-rw-r--r--apps/graphics/tiff/tiff_addstrip.c8
1 files changed, 4 insertions, 4 deletions
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;