Home
last modified time | relevance | path

Searched refs:JpegWriter (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_writer.cpp24 JpegWriter::JpegWriter() : mInfo(), in JpegWriter() function in JpegWriter
34 JpegWriter::~JpegWriter() { in ~JpegWriter()
40 const int32_t JpegWriter::DEFAULT_X_DENSITY = 300;
41 const int32_t JpegWriter::DEFAULT_Y_DENSITY = 300;
42 const int32_t JpegWriter::DEFAULT_DENSITY_UNIT = 1;
44 int32_t JpegWriter::setup(JNIEnv *env, jobject out, int32_t width, int32_t height, in setup()
116 int32_t JpegWriter::write(int8_t* bytes, int32_t length) { in write()
166 void JpegWriter::formatPixels(uint8_t* buf, int32_t len) { in formatPixels()
202 void JpegWriter::updateEnv(JNIEnv *env) { in updateEnv()
206 int32_t JpegWriter::reset() { in reset()
Djpegstream.cpp66 JpegWriter* w_ptr = new JpegWriter(); in OutputStream_setup()
148 static JpegWriter* getWPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getWPtr()
162 JpegWriter* w_ptr = reinterpret_cast<JpegWriter*>(ptr); in getWPtr()
192 JpegWriter* w_ptr = getWPtr(env, thiz, &fidNumber); in OutputStream_cleanup()
222 JpegWriter* w_ptr = getWPtr(env, thiz, NULL); in OutputStream_writeInputBytes()
Djpeg_writer.h30 class JpegWriter {
32 JpegWriter();
33 ~JpegWriter();