Lines Matching refs:dmgr
583 } dmgr; in encodeJpegYU12() local
604 auto& dmgr = *reinterpret_cast<CustomJpegDestMgr*>(cinfo->client_data); in encodeJpegYU12() local
605 dmgr.mSuccess = false; in encodeJpegYU12()
613 dmgr.mBuffer = static_cast<JOCTET*>(out); in encodeJpegYU12()
614 dmgr.mBufferSize = maxOutSize; in encodeJpegYU12()
615 dmgr.mEncodedSize = 0; in encodeJpegYU12()
616 dmgr.mSuccess = true; in encodeJpegYU12()
617 cinfo.client_data = static_cast<void*>(&dmgr); in encodeJpegYU12()
621 dmgr.mgr.init_destination = [](j_compress_ptr cinfo) { in encodeJpegYU12()
622 auto& dmgr = reinterpret_cast<CustomJpegDestMgr&>(*cinfo->dest); in encodeJpegYU12() local
623 dmgr.mgr.next_output_byte = dmgr.mBuffer; in encodeJpegYU12()
624 dmgr.mgr.free_in_buffer = dmgr.mBufferSize; in encodeJpegYU12()
625 ALOGV("%s:%d jpeg start: %p [%zu]", __FUNCTION__, __LINE__, dmgr.mBuffer, dmgr.mBufferSize); in encodeJpegYU12()
628 dmgr.mgr.empty_output_buffer = [](j_compress_ptr cinfo __unused) { in encodeJpegYU12()
633 dmgr.mgr.term_destination = [](j_compress_ptr cinfo) { in encodeJpegYU12()
634 auto& dmgr = reinterpret_cast<CustomJpegDestMgr&>(*cinfo->dest); in encodeJpegYU12() local
635 dmgr.mEncodedSize = dmgr.mBufferSize - dmgr.mgr.free_in_buffer; in encodeJpegYU12()
636 ALOGV("%s:%d Done with jpeg: %zu", __FUNCTION__, __LINE__, dmgr.mEncodedSize); in encodeJpegYU12()
638 cinfo.dest = reinterpret_cast<struct jpeg_destination_mgr*>(&dmgr); in encodeJpegYU12()
729 actualCodeSize = dmgr.mEncodedSize; in encodeJpegYU12()