Skip to content

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Aug 3, 2022

Summary: provider callback uses video sampler to copy/scale input frames using sws_scale function, added option to use av_image_copy to copy image planes in case if sws_getContext fails (required to support AV_PIX_FMT_PAL8 pixel format)

Reviewed By: ovoietsa

Differential Revision: D36466749

fbshipit-source-id: 1674f98a362db835d147800c24bdda6f82d2f8ff

Summary: provider callback uses video sampler to copy/scale input frames using sws_scale function, added option to use av_image_copy to copy image planes in case if sws_getContext fails (required to support AV_PIX_FMT_PAL8 pixel format)

Reviewed By: ovoietsa

Differential Revision: D36466749

fbshipit-source-id: 1674f98a362db835d147800c24bdda6f82d2f8ff
@datumbox
Copy link
Contributor Author

datumbox commented Aug 3, 2022

This is going to break the linter unfortunately. I propose to merge and break main temporarily and bring a new PR to fix the linter afterwards. This will make syncing the changes back to FBcode easier.

Copy link
Contributor

@jdsgomes jdsgomes left a comment

Choose a reason for hiding this comment

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

stamping, thanks!

@datumbox datumbox merged commit 7d328c5 into pytorch:main Aug 3, 2022
@datumbox datumbox deleted the cherrypick/AV_PIX_FMT_PAL8 branch August 3, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants