YUYV to JPEG conversion with libjpeg

Sharing a small libjpeg snippet.

Some SO questions about it have only partial snippets:

Enjoy!
Roy

Share