Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Canv wanghuabing

🎯
Focusing
  • ShenZhen
View GitHub Profile
@wanghuabing
wanghuabing / CompressYUYV2JPEG.cpp
Created May 25, 2018 — forked from royshil/CompressYUYV2JPEG.cpp
Example of converting a YUYV buffer to JPEG using libJPEG
View CompressYUYV2JPEG.cpp
#include <iostream>
#include <fstream>
#include <vector>
#include <cstdint>
#include <memory>
#include <jpeglib.h>
using namespace std;
@wanghuabing
wanghuabing / CompressYUYV2JPEG.cpp
Created May 25, 2018 — forked from royshil/CompressYUYV2JPEG.cpp
Example of converting a YUYV buffer to JPEG using libJPEG
View CompressYUYV2JPEG.cpp
#include <iostream>
#include <fstream>
#include <vector>
#include <cstdint>
#include <memory>
#include <jpeglib.h>
using namespace std;
@wanghuabing
wanghuabing / URLImageParser.java
Created Mar 23, 2018 — forked from extralam/URLImageParser.java
URLImageParser - TextView show Image html , use Glide Image Library
View URLImageParser.java
import java.util.ArrayList;
import com.bumptech.glide.GenericRequestBuilder;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.animation.GlideAnimation;
import com.bumptech.glide.request.target.SimpleTarget;
import com.bumptech.glide.request.target.Target;
import android.content.Context;