On Fri, May 27, 2011 at 07:01:47PM -0400, Ronald S. Bultje wrote:
> ---
> libswscale/swscale_internal.h | 2 +
> libswscale/utils.c | 1 +
> libswscale/x86/swscale_template.c | 141 ++++++++++++++++--------------------
> 3 files changed, 66 insertions(+), 78 deletions(-)
>
> diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
> index b7183d3..c17d550 100644
> --- a/libswscale/swscale_internal.h
> +++ b/libswscale/swscale_internal.h
> @@ -194,6 +194,7 @@ typedef struct SwsContext {
> #define Y_TEMP "11*8+4*4*256*2+40"
> #define ALP_MMX_FILTER_OFFSET "11*8+4*4*256*2+48"
> #define UV_OFF "11*8+4*4*256*3+48"
> +#define UV_OFFx2 "11*8+4*4*256*3+56"
>
> DECLARE_ALIGNED(8, uint64_t, redDither);
> DECLARE_ALIGNED(8, uint64_t, greenDither);
> @@ -217,6 +218,7 @@ typedef struct SwsContext {
> DECLARE_ALIGNED(8, uint64_t, y_temp);
> int32_t alpMmxFilter[4*MAX_FILTER_SIZE];
> DECLARE_ALIGNED(8, ptrdiff_t, uv_off); ///< offset (in pixels) between u
> and v planes
> + DECLARE_ALIGNED(8, ptrdiff_t, uv_offx2); ///< offset (in bytes) between
> u and v planes
Let alone misleading naming (I'd expect UV_OFFx2 = UV_OFF*2) what are you
trying to achieve here with slightly different define which replaces some
parameter?
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel