Skip to content

Add initial AVIF support #966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2020
Merged

Add initial AVIF support #966

merged 1 commit into from
May 18, 2020

Conversation

yongtang
Copy link
Member

This PR adds initial support of tfio.experimental.image.decode_avif
Due to the complexity of the AVIF, this is the first step with:

  1. Only DAV1D has been supported for now.
  2. Only 8 bit depth images are supported.
  3. The output is always RGB for now, no YUV.
  4. No image sequence support.
  5. Asm code is not built in yet (performance)
  6. The API is subject to change at the moment

Plan to add more options and address above issues with follow up PRs.

This PR is part to #882.

Signed-off-by: Yong Tang yong.tang.github@outlook.com

This PR adds initial support of tfio.experimental.image.decode_avif
Due to the complexity of the AVIF, this is the first step with:
1. Only DAV1D has been supported for now.
2. Only 8 bit depth images are supported.
3. The output is always RGB for now, no YUV.
4. No image sequence support.
5. Asm code is not built in yet (performance)
5. The API is subject to change at the moment

Plan to add more options and address above issues with follow up PRs.

This PR is part to 882.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@terrytangyuan terrytangyuan merged commit c8d7b2d into tensorflow:master May 18, 2020
@yongtang yongtang deleted the avif branch May 18, 2020 23:17
i-ony pushed a commit to i-ony/io that referenced this pull request Feb 8, 2021
This PR adds initial support of tfio.experimental.image.decode_avif
Due to the complexity of the AVIF, this is the first step with:
1. Only DAV1D has been supported for now.
2. Only 8 bit depth images are supported.
3. The output is always RGB for now, no YUV.
4. No image sequence support.
5. Asm code is not built in yet (performance)
5. The API is subject to change at the moment

Plan to add more options and address above issues with follow up PRs.

This PR is part to 882.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
zheolong pushed a commit to zheolong/io-1 that referenced this pull request Jul 24, 2025
This PR adds initial support of tfio.experimental.image.decode_avif
Due to the complexity of the AVIF, this is the first step with:
1. Only DAV1D has been supported for now.
2. Only 8 bit depth images are supported.
3. The output is always RGB for now, no YUV.
4. No image sequence support.
5. Asm code is not built in yet (performance)
5. The API is subject to change at the moment

Plan to add more options and address above issues with follow up PRs.

This PR is part to 882.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants