Skip to content
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

Texture Mask Inversion #106

Merged
merged 2 commits into from
Aug 26, 2020
Merged

Texture Mask Inversion #106

merged 2 commits into from
Aug 26, 2020

Conversation

eugenebokhan
Copy link
Collaborator

No description provided.

@@ -81,6 +81,7 @@ template <typename T>
void textureMask(texture2d<T, access::read> source,
texture2d<float, access::sample> mask,
texture2d<T, access::write> destination,
constant bool& isInversed,
const ushort2 position [[ thread_position_in_grid ]]) {
Copy link
Owner

Choose a reason for hiding this comment

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

I guess we don't need an annotation here

@s1ddok s1ddok merged commit 0543b05 into style-fixes Aug 26, 2020
@s1ddok s1ddok deleted the texture-mask-inversion branch August 26, 2020 08:36
s1ddok added a commit that referenced this pull request Aug 26, 2020
* remove warnings

* style fixes

* update version

* introduce several bugfixes, new APIs (#103)

* introduce several bugfixes, new APIs

* fix alignment

* Squashed commit of the following:

    fix TextureWeightedMix (#104)

    Add Texture Mix (#100)

    * add texture mix

    * naming

    * update version

* update encoder

* replace mask reading with mask sampling

* fix shared memory size

* fix typo in float conversion

* Texture Mask Inversion (#106)

* add inversion to TextureMask

* remove redundant annotation

* RGBA to YCbCr (#105)

* rgba to ycbcr

* update rgba to ycbcr

* migrate to gather

* fixes

* use to matrix multiplication

* use matrix transpose

* simplify mean calculation

Co-authored-by: Andrey Volodin <siddok@gmail.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