1

I want to use a hardware encoder to create JPEG image files from my hardware/ti/omap3/camera/CameraHardware.cpp file. Currently it uses libjpeg to do the encoding. From java code, I have hardware encoding working, but I don't know how to use it from native code. Can anyone point me in the right direction? A number of google searches have yielded no relevant results.

Thanks

1 Answer 1

1

In case anyone was interested, I figured out how to do this by using the SkImageEncoder::EncodeStream function. It ended up being 7 lines of code. Woo hoo.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.