On Fri, Mar 21, 2014 at 8:44 PM, chen <[email protected]> wrote:

> At 2014-03-21 13:35:29,[email protected] wrote:
> ># HG changeset patch
> ># User Murugan Vairavel <[email protected]>
> ># Date 1395379028 -19800
> >#      Fri Mar 21 10:47:08 2014 +0530
> ># Node ID 0c4fdd43325e6501698a281862b1c027238a9c9d
> ># Parent  fe3fcd9838c02fb65fed8638a13dea9f06f8a9be
> >primitives: added C primitives for upShift/downShift of input pixels
>
>
> >+void planecopy_cp_c(uint8_t *src, intptr_t srcStride, pixel *dst, intptr_t 
> >dstStride, int width, int height)
> this function for 8 to 10 convert only
>
Yes it will do 8-bit to 10-bit upshift only. Should i need to change the
function name???

>
> >+{
> >+    for (int r = 0; r < height; r++)
> >+    {
> >+        for (int c = 0; c < width; c++)
> >+        {
> >+            dst[c] = ((pixel)src[c]) << 2;
> >+        }
> >+
> >+        dst += dstStride;
> >+        src += srcStride;
> >+    }
> >+}
> _______________________________________________
> x265-devel mailing list
> [email protected]
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
With Regards,

Murugan. V
+919659287478
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to