Lines Matching refs:dmgr
1374 } dmgr; in encodeJpegYU12() local
1395 auto & dmgr = in encodeJpegYU12() local
1397 dmgr.mSuccess = false; in encodeJpegYU12()
1404 dmgr.mBuffer = static_cast<JOCTET*>(out); in encodeJpegYU12()
1405 dmgr.mBufferSize = maxOutSize; in encodeJpegYU12()
1406 dmgr.mEncodedSize = 0; in encodeJpegYU12()
1407 dmgr.mSuccess = true; in encodeJpegYU12()
1408 cinfo.client_data = static_cast<void*>(&dmgr); in encodeJpegYU12()
1412 dmgr.mgr.init_destination = [](j_compress_ptr cinfo) { in encodeJpegYU12()
1413 auto & dmgr = reinterpret_cast<CustomJpegDestMgr&>(*cinfo->dest); in encodeJpegYU12() local
1414 dmgr.mgr.next_output_byte = dmgr.mBuffer; in encodeJpegYU12()
1415 dmgr.mgr.free_in_buffer = dmgr.mBufferSize; in encodeJpegYU12()
1417 __FUNCTION__, __LINE__, dmgr.mBuffer, dmgr.mBufferSize); in encodeJpegYU12()
1420 dmgr.mgr.empty_output_buffer = [](j_compress_ptr cinfo __unused) { in encodeJpegYU12()
1425 dmgr.mgr.term_destination = [](j_compress_ptr cinfo) { in encodeJpegYU12()
1426 auto & dmgr = reinterpret_cast<CustomJpegDestMgr&>(*cinfo->dest); in encodeJpegYU12() local
1427 dmgr.mEncodedSize = dmgr.mBufferSize - dmgr.mgr.free_in_buffer; in encodeJpegYU12()
1428 ALOGV("%s:%d Done with jpeg: %zu", __FUNCTION__, __LINE__, dmgr.mEncodedSize); in encodeJpegYU12()
1430 cinfo.dest = reinterpret_cast<struct jpeg_destination_mgr*>(&dmgr); in encodeJpegYU12()
1531 actualCodeSize = dmgr.mEncodedSize; in encodeJpegYU12()