summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-07 17:02:06 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-29 14:48:03 +0200
commit2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428 (patch)
treeda4a550527ba5dc67e81e3f384b048fc2250f583 /doc
parentb2939a75270bc7e971462648168aa3a2a48c1c8c (diff)
downloadffmpeg-streaming-2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428.zip
ffmpeg-streaming-2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428.tar.gz
idct: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'doc')
-rw-r--r--doc/optimization.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/optimization.txt b/doc/optimization.txt
index 9847dcf..be12d85 100644
--- a/doc/optimization.txt
+++ b/doc/optimization.txt
@@ -142,7 +142,7 @@ Alignment:
Some instructions on some architectures have strict alignment restrictions,
for example most SSE/SSE2 instructions on x86.
The minimum guaranteed alignment is written in the .h files, for example:
- void (*put_pixels_clamped)(const int16_t *block/*align 16*/, UINT8 *pixels/*align 8*/, int line_size);
+ void (*put_pixels_clamped)(const int16_t *block/*align 16*/, uint8_t *pixels/*align 8*/, ptrdiff_t stride);
General Tips:
OpenPOWER on IntegriCloud