Home
last modified time | relevance | path

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

/hardware/libhardware/modules/camera/3_4/arc/
Djpeg_compressor.cpp51 void JpegCompressor::InitDestination(j_compress_ptr cinfo) { in InitDestination() argument
52 destination_mgr* dest = reinterpret_cast<destination_mgr*>(cinfo->dest); in InitDestination()
59 boolean JpegCompressor::EmptyOutputBuffer(j_compress_ptr cinfo) { in EmptyOutputBuffer() argument
60 destination_mgr* dest = reinterpret_cast<destination_mgr*>(cinfo->dest); in EmptyOutputBuffer()
69 void JpegCompressor::TerminateDestination(j_compress_ptr cinfo) { in TerminateDestination() argument
70 destination_mgr* dest = reinterpret_cast<destination_mgr*>(cinfo->dest); in TerminateDestination()
75 void JpegCompressor::OutputErrorMessage(j_common_ptr cinfo) { in OutputErrorMessage() argument
79 (*cinfo->err->format_message)(cinfo, buffer); in OutputErrorMessage()
86 jpeg_compress_struct cinfo; in Encode() local
89 cinfo.err = jpeg_std_error(&jerr); in Encode()
[all …]
Djpeg_compressor.h47 static void InitDestination(j_compress_ptr cinfo);
48 static boolean EmptyOutputBuffer(j_compress_ptr cinfo);
49 static void TerminateDestination(j_compress_ptr cinfo);
50 static void OutputErrorMessage(j_common_ptr cinfo);
55 void SetJpegDestination(jpeg_compress_struct* cinfo);
57 jpeg_compress_struct* cinfo);
59 bool Compress(jpeg_compress_struct* cinfo, const uint8_t* yuv);
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp1376 jpeg_compress_struct cinfo = {}; in encodeJpegYU12() local
1383 cinfo.err = jpeg_std_error(&jerr); in encodeJpegYU12()
1385 cinfo.err->output_message = [](j_common_ptr cinfo) { in encodeJpegYU12() argument
1389 (*cinfo->err->format_message)(cinfo, buffer); in encodeJpegYU12()
1392 cinfo.err->error_exit = [](j_common_ptr cinfo) { in encodeJpegYU12() argument
1393 (*cinfo->err->output_message)(cinfo); in encodeJpegYU12()
1394 if(cinfo->client_data) { in encodeJpegYU12()
1396 *reinterpret_cast<CustomJpegDestMgr*>(cinfo->client_data); in encodeJpegYU12()
1401 jpeg_create_compress(&cinfo); in encodeJpegYU12()
1408 cinfo.client_data = static_cast<void*>(&dmgr); in encodeJpegYU12()
[all …]