# SDK Licensing question about code translation

**URL:** <https://forums.imgtec.com/t/sdk-licensing-question-about-code-translation/2317>\
**Category:** PowerVR Insider\
**Created:** [July 6, 2015, 8:02pm UTC](https://forums.imgtec.com/t/sdk-licensing-question-about-code-translation/2317 "2015-07-06T20:02:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlee298](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/dlee298/32/20_2.png) [@dlee298](https://forums.imgtec.com/u/dlee298)\
**Post date:** [July 6, 2015, 8:02pm UTC](https://forums.imgtec.com/t/sdk-licensing-question-about-code-translation/2317/1 "2015-07-06T20:02:56Z")

</div>

I have a program written in Java which can, among other things, load textures in various formats. I plan to add PVR support.

If I understood the SDK EULA correctly, it would preclude me from rewriting the decompression routines in PVRTDecompress.cpp in Java (because it’s a “derivative work”). But I would be allowed to write a JNI wrapper that uses the same code, provided the attribution requirements are met?

I would really prefer to rewrite the decompressor in Java and keep the codebase pure Java if at all possible.

---

<div class="post-metadata">

**Author:** ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)\
**Post date:** [July 7, 2015, 5:40am UTC](https://forums.imgtec.com/t/sdk-licensing-question-about-code-translation/2317/2 "2015-07-07T05:40:51Z")

</div>

Hi David,

[blockquote]I would really prefer to rewrite the decompressor in Java and keep the codebase pure Java if at all possible.[/blockquote]  
Under our licence, you are allowed to do this. The licence states:  
[blockquote]Restrictions  
Other than as expressly permitted herein, you may not: …create derivative works or attempt to discover the source code for any element of the SDK not already provided in source code form[/blockquote]  
As PVRTDecompress is provided as source, you are allowed to create derivative works from it.

We’re currently reviewing our EULA and hope to make the terms clearer in the future.

---

<div class="post-metadata">

**Author:** ![dlee298](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/dlee298/32/20_2.png) [@dlee298](https://forums.imgtec.com/u/dlee298)\
**Post date:** [July 9, 2015, 4:18am UTC](https://forums.imgtec.com/t/sdk-licensing-question-about-code-translation/2317/3 "2015-07-09T04:18:01Z")

</div>

Thanks for the clarification. I interpreted that differently
