Searched refs:dmgr (Results 1 – 2 of 2) sorted by relevance
229 } dmgr; in CompressYUV420Frame() local240 auto& dmgr = *static_cast<CustomJpegDestMgr*>(cinfo->client_data); in CompressYUV420Frame() local241 dmgr.success = false; in CompressYUV420Frame()250 dmgr.buffer = static_cast<JOCTET*>(frame.output_buffer); in CompressYUV420Frame()251 dmgr.buffer_size = frame.output_buffer_size; in CompressYUV420Frame()252 dmgr.encoded_size = 0; in CompressYUV420Frame()253 dmgr.success = true; in CompressYUV420Frame()254 cinfo->client_data = static_cast<void*>(&dmgr); in CompressYUV420Frame()255 dmgr.init_destination = [](j_compress_ptr cinfo) { in CompressYUV420Frame()256 auto& dmgr = static_cast<CustomJpegDestMgr&>(*cinfo->dest); in CompressYUV420Frame() local[all …]
400 } dmgr; in encodeJpegYU12() local421 auto & dmgr = in encodeJpegYU12() local423 dmgr.mSuccess = false; in encodeJpegYU12()430 dmgr.mBuffer = static_cast<JOCTET*>(out); in encodeJpegYU12()431 dmgr.mBufferSize = maxOutSize; in encodeJpegYU12()432 dmgr.mEncodedSize = 0; in encodeJpegYU12()433 dmgr.mSuccess = true; in encodeJpegYU12()434 cinfo.client_data = static_cast<void*>(&dmgr); in encodeJpegYU12()438 dmgr.mgr.init_destination = [](j_compress_ptr cinfo) { in encodeJpegYU12()439 auto & dmgr = reinterpret_cast<CustomJpegDestMgr&>(*cinfo->dest); in encodeJpegYU12() local[all …]