[FFmpeg-devel] [PATCH 1/7] avcodec/mips: [loongson] reoptimize simple idct(put&add) with mmi.
yinshiyou-hf at loongson.cn
yinshiyou-hf at loongson.cn
Tue Jun 19 11:45:44 EEST 2018
> +
> +void ff_simple_idct_put_mmi(uint8_t *dest, int line_size, int16_t *block)
> +{
> + ff_simple_idct_8_mmi(block);
> + ff_put_pixels_clamped_mmi(block, dest, line_size);
> +}
> +void ff_simple_idct_add_mmi(uint8_t *dest, int line_size, int16_t *block)
> +{
> + ff_simple_idct_8_mmi(block);
> + ff_add_pixels_clamped_mmi(block, dest, line_size);
> +}
> --
> 2.1.0
>
Type of argument line_size in this two functions need to be replaced by ptrdiff_t.
I will add this change with other comments once replied.
More information about the ffmpeg-devel
mailing list