On Wed, Apr 10, 2013 at 07:24:36PM +0300, Martin Storsjö wrote:
> --- a/libavcodec/sparc/dsputil_vis.c
> +++ b/libavcodec/sparc/dsputil_vis.c
> @@ -33,3456 +33,6 @@
/* The *no_round* functions have been added by James A. Morrison, 2003,2004.
The vis code from libmpeg2 was adapted for libavcodec by James A. Morrison.
*/
This comment should be moved as well.
Most of the #includes in this file can be dropped.
> -
> -/* End of no rounding code */
> -
> #define ACCEL_SPARC_VIS 1
> #define ACCEL_SPARC_VIS2 2
This and the vis_level() function is duplicated.
> --- a/libavcodec/sparc/dsputil_vis.c
> +++ b/libavcodec/sparc/hpeldsp_vis.c
> @@ -26,10 +26,8 @@
>
> #include <inttypes.h>
>
> -#include "libavutil/attributes.h"
> -#include "libavcodec/dsputil.h"
> +#include "libavcodec/hpeldsp.h"
> #include "libavutil/mem.h"
> -#include "dsputil_vis.h"
>
> #include "vis.h"
attributes.h should be kept.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel