Lines Matching refs:dmgr
429 } dmgr; in encodeJpegYU12() local
450 auto & dmgr = in encodeJpegYU12() local
452 dmgr.mSuccess = false; in encodeJpegYU12()
459 dmgr.mBuffer = static_cast<JOCTET*>(out); in encodeJpegYU12()
460 dmgr.mBufferSize = maxOutSize; in encodeJpegYU12()
461 dmgr.mEncodedSize = 0; in encodeJpegYU12()
462 dmgr.mSuccess = true; in encodeJpegYU12()
463 cinfo.client_data = static_cast<void*>(&dmgr); in encodeJpegYU12()
467 dmgr.mgr.init_destination = [](j_compress_ptr cinfo) { in encodeJpegYU12()
468 auto & dmgr = reinterpret_cast<CustomJpegDestMgr&>(*cinfo->dest); in encodeJpegYU12() local
469 dmgr.mgr.next_output_byte = dmgr.mBuffer; in encodeJpegYU12()
470 dmgr.mgr.free_in_buffer = dmgr.mBufferSize; in encodeJpegYU12()
472 __FUNCTION__, __LINE__, dmgr.mBuffer, dmgr.mBufferSize); in encodeJpegYU12()
475 dmgr.mgr.empty_output_buffer = [](j_compress_ptr cinfo __unused) { in encodeJpegYU12()
480 dmgr.mgr.term_destination = [](j_compress_ptr cinfo) { in encodeJpegYU12()
481 auto & dmgr = reinterpret_cast<CustomJpegDestMgr&>(*cinfo->dest); in encodeJpegYU12() local
482 dmgr.mEncodedSize = dmgr.mBufferSize - dmgr.mgr.free_in_buffer; in encodeJpegYU12()
483 ALOGV("%s:%d Done with jpeg: %zu", __FUNCTION__, __LINE__, dmgr.mEncodedSize); in encodeJpegYU12()
485 cinfo.dest = reinterpret_cast<struct jpeg_destination_mgr*>(&dmgr); in encodeJpegYU12()
587 actualCodeSize = dmgr.mEncodedSize; in encodeJpegYU12()