The patch never went upstream, but you could check how something similar was is done in adding OpenCL acceleration to libjpeg-turbo:
https://sourceforge.net/p/libjpeg-turbo/patches/40/ I would definitely go in the way of integrating this bellow libjpeg-turbo since you will get better reusability. //Zoltan On Tue, Feb 19, 2019 at 6:12 PM Amit Agrawal <aamit1...@gmail.com> wrote: > Can you please Explain how and where can I expose my hardware in > libjpeg-turbo? Isn't there any API check for the decoders in SKIA where I > can route it to my hardware instead of libjpeg-turbo? > Can you show me how to do this in libjpeg-turbo? > > > Thanks > > On Monday, February 4, 2019 at 9:32:57 PM UTC+5:30, Zoltan Kuscsik wrote: >> >> Yes, the framework uses skia + libjpeg. You may need to add the support >> to libjpeg-turbo. >> >> Zoltan >> >> >> >> On Mon, Feb 4, 2019 at 4:09 PM Amit Agrawal <aami...@gmail.com> wrote: >> >>> I want to integrate a hardware decoder for jpeg decoding. Wher should I >>> integrate this? I found that it can be done in skia. My doubt is does all >>> Image Viewers( like: Gallery, Google Photos, File Manager, Whatsapp etc. ) >>> uses SKIA? would it be sufficient to add it in SKIA? >>> Thanks >>> >>> -- >>> -- >>> unsubscribe: android-porti...@googlegroups.com >>> website: http://groups.google.com/group/android-porting >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "android-porting" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to android-porti...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-porting+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.