acldvppJpegdPrecisionMode

Data Format

Description

ACL_YUVOUT_ALIGN_DOWN = 0

ACL_YUVOUT_ALIGN_DOWN:
  • If the format of the decoded output image is YUV420SP and the width and height of the source image are odd numbers, the width and height of the output image are rounded down to the nearest multiple of 2.
  • If the format of the decoded output image is YUV422SP and the width of the source image is an odd number, the width of the output image is rounded down to the nearest multiple of 2.
  • If the format of the decoded output image is YUV440SP and the height of the source image is an odd number, the height of the output image is rounded down to the nearest multiple of 2.

ACL_YUVOUT_ALIGN_UP = 1

ACL_YUVOUT_ALIGN_UP:
  • If the format of the decoded output image is YUV420SP and the width and height of the source image are odd numbers, the width and height of the output image are rounded up to the nearest multiple of 2.
  • If the format of the decoded output image is YUV422SP and the width of the source image is an odd number, the width of the output image is rounded up to the nearest multiple of 2.
  • If the format of the decoded output image is YUV440SP and the height of the source image is an odd number, the height of the output image is rounded up to the nearest multiple of 2.

ACL_YUVOUT_ALIGN_DOWN_COMPAT = 2

ACL_YUVOUT_ALIGN_DOWN_COMPAT: default value

Compatible with earlier versions. If the format of the decoded output image is YUV420SP, YUV422SP, or YUV440SP and the width and height of the source image are odd numbers, the width and height of the output image are rounded down to the nearest multiple of 2.