Lines Matching refs:dmgr
400 } dmgr; in encodeJpegYU12() local
421 auto & dmgr = in encodeJpegYU12() local
423 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
440 dmgr.mgr.next_output_byte = dmgr.mBuffer; in encodeJpegYU12()
441 dmgr.mgr.free_in_buffer = dmgr.mBufferSize; in encodeJpegYU12()
443 __FUNCTION__, __LINE__, dmgr.mBuffer, dmgr.mBufferSize); in encodeJpegYU12()
446 dmgr.mgr.empty_output_buffer = [](j_compress_ptr cinfo __unused) { in encodeJpegYU12()
451 dmgr.mgr.term_destination = [](j_compress_ptr cinfo) { in encodeJpegYU12()
452 auto & dmgr = reinterpret_cast<CustomJpegDestMgr&>(*cinfo->dest); in encodeJpegYU12() local
453 dmgr.mEncodedSize = dmgr.mBufferSize - dmgr.mgr.free_in_buffer; in encodeJpegYU12()
454 ALOGV("%s:%d Done with jpeg: %zu", __FUNCTION__, __LINE__, dmgr.mEncodedSize); in encodeJpegYU12()
456 cinfo.dest = reinterpret_cast<struct jpeg_destination_mgr*>(&dmgr); in encodeJpegYU12()
558 actualCodeSize = dmgr.mEncodedSize; in encodeJpegYU12()