Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 189f7e43 authored by Chad Brubaker's avatar Chad Brubaker Committed by Android Git Automerger
Browse files

am 819b89aa: am 84c1e5a9: Merge "Whitelist *ToPlanar from integer sanitization"

* commit '819b89aa':
  Whitelist *ToPlanar from integer sanitization
parents dc0b4c7b 819b89aa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -358,6 +358,7 @@ OMX_ERRORTYPE SoftVideoEncoderOMXComponent::internalGetParameter(
}

// static
__attribute__((no_sanitize("integer")))
void SoftVideoEncoderOMXComponent::ConvertFlexYUVToPlanar(
        uint8_t *dst, size_t dstStride, size_t dstVStride,
        struct android_ycbcr *ycbcr, int32_t width, int32_t height) {
@@ -400,6 +401,7 @@ void SoftVideoEncoderOMXComponent::ConvertFlexYUVToPlanar(
}

// static
__attribute__((no_sanitize("integer")))
void SoftVideoEncoderOMXComponent::ConvertYUV420SemiPlanarToYUV420Planar(
        const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) {
    // TODO: add support for stride
@@ -430,6 +432,7 @@ void SoftVideoEncoderOMXComponent::ConvertYUV420SemiPlanarToYUV420Planar(
}

// static
__attribute__((no_sanitize("integer")))
void SoftVideoEncoderOMXComponent::ConvertRGB32ToPlanar(
        uint8_t *dstY, size_t dstStride, size_t dstVStride,
        const uint8_t *src, size_t width, size_t height, size_t srcStride,