Commit e7bcc5ba authored by Mans Rullgard's avatar Mans Rullgard

simple_idct: change 10-bit add/put stride from pixels to bytes

This matches other dsputil functions and simplifies calls.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent a82beafd
......@@ -372,6 +372,9 @@ void FUNC(ff_simple_idct_put)(uint8_t *dest_, int line_size, DCTELEM *block)
{
pixel *dest = (pixel *)dest_;
int i;
line_size /= sizeof(pixel);
for(i=0; i<8; i++)
FUNC(idctRowCondDC)(block + i*8);
......@@ -383,6 +386,9 @@ void FUNC(ff_simple_idct_add)(uint8_t *dest_, int line_size, DCTELEM *block)
{
pixel *dest = (pixel *)dest_;
int i;
line_size /= sizeof(pixel);
for(i=0; i<8; i++)
FUNC(idctRowCondDC)(block + i*8);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment