[x265] [PATCH] Fix bug in mcstf
Mahesh Pittala
mahesh at multicorewareinc.com
Wed Mar 22 05:25:56 UTC 2023
pushed to the master branch, thanks
On Mon, Mar 20, 2023 at 12:13 PM Anusuya Kumarasamy <
anusuya.kumarasamy at multicorewareinc.com> wrote:
> From 2525cbbf847b42088a7637d08af673b6536d7ef7 Mon Sep 17 00:00:00 2001
> From: AnusuyaKumarasamy <anusuya.kumarasamy at multicorewareinc.com>
> Date: Fri, 10 Feb 2023 16:47:46 +0530
> Subject: [PATCH] Fix bug in mcstf
>
> ---
> source/encoder/encoder.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/source/encoder/encoder.cpp b/source/encoder/encoder.cpp
> index 5950f87e9..c2dd6f4e8 100644
> --- a/source/encoder/encoder.cpp
> +++ b/source/encoder/encoder.cpp
> @@ -2396,7 +2396,7 @@ int Encoder::encode(const x265_picture* pic_in,
> x265_picture* pic_out)
> if (!*ref->isSubsampled)
> {
> primitives.frameSubSampleLuma((const pixel
> *)ref->picBuffer->m_picOrg[0], ref->picBufferSubSampled2->m_picOrg[0],
> ref->picBuffer->m_stride, ref->picBufferSubSampled2->m_stride,
> ref->picBufferSubSampled2->m_picWidth,
> ref->picBufferSubSampled2->m_picHeight);
> -
> extendPicBorder(frameEnc->m_fencPicSubsampled2->m_picOrg[0],
> ref->picBufferSubSampled2->m_stride, ref->picBufferSubSampled2->m_picWidth,
> ref->picBufferSubSampled2->m_picHeight,
> ref->picBufferSubSampled2->m_lumaMarginX,
> ref->picBufferSubSampled2->m_lumaMarginY);
> +
> extendPicBorder(ref->picBufferSubSampled2->m_picOrg[0],
> ref->picBufferSubSampled2->m_stride, ref->picBufferSubSampled2->m_picWidth,
> ref->picBufferSubSampled2->m_picHeight,
> ref->picBufferSubSampled2->m_lumaMarginX,
> ref->picBufferSubSampled2->m_lumaMarginY);
> primitives.frameSubSampleLuma((const pixel
> *)ref->picBufferSubSampled2->m_picOrg[0],ref->picBufferSubSampled4->m_picOrg[0],
> ref->picBufferSubSampled2->m_stride, ref->picBufferSubSampled4->m_stride,
> ref->picBufferSubSampled4->m_picWidth,
> ref->picBufferSubSampled4->m_picHeight);
>
> extendPicBorder(ref->picBufferSubSampled4->m_picOrg[0],
> ref->picBufferSubSampled4->m_stride, ref->picBufferSubSampled4->m_picWidth,
> ref->picBufferSubSampled4->m_picHeight,
> ref->picBufferSubSampled4->m_lumaMarginX,
> ref->picBufferSubSampled4->m_lumaMarginY);
> *ref->isSubsampled = true;
> --
> 2.36.0.windows.1
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20230322/894d0947/attachment.htm>
More information about the x265-devel
mailing list