heifwriter/src/main/java/androidx/heifwriter/HeifEncoder.java
private void returnEmptyBufferAndNotify(boolean inputEOS) {
        synchronized (mEmptyBuffers) {
            mInputEOS |= inputEOS;
            mEmptyBuffers.add(mCurrentBuffer);
            mEmptyBuffers.notifyAll();
        }
        mCurrentBuffer = null;
    }
/**
     * Routine to put the consumed input buffer back into the empty buffer pool.
     * Only called on callback handler thread.
     */
Routine to put the consumed input buffer back into the empty buffer pool.
Only called on callback handler thread.
Routine to put the consumed input buffer back into the empty buffer pool . Only called on callback handler thread .
private void returnEmptyBufferAndNotify(boolean inputEOS) {
        synchronized (mEmptyBuffers) {
            mInputEOS |= inputEOS;
            mEmptyBuffers.add(mCurrentBuffer);
            mEmptyBuffers.notifyAll();
        }
        mCurrentBuffer = null;
    }
private void returnEmptyBufferAndNotify ( boolean inputEOS ) { synchronized ( mEmptyBuffers ) { mInputEOS |= inputEOS ; mEmptyBuffers . add ( mCurrentBuffer ) ; mEmptyBuffers . notifyAll ( ) ; } mCurrentBuffer = null ; }
Routine to put the consumed input buffer back into the empty buffer pool.
Routine to put the consumed input buffer back into the empty buffer pool .