heifwriter/src/main/java/androidx/heifwriter/HeifEncoder.java
public void stopAsync() {
        if (mInputMode == INPUT_MODE_BITMAP) {
            // here we simply set the EOS timestamp to 0, so that the cut off will be the last
            // bitmap ever added.
            mEOSTracker.updateInputEOSTime(0);
        } else if (mInputMode == INPUT_MODE_BUFFER) {
            addYuvBufferInternal(null);
        }
    }
/**
     * Sends input EOS to the encoder. Result will be notified asynchronously via
     * {@link Callback#onComplete(HeifEncoder)} if encoder reaches EOS without error, or
     * {@link Callback#onError(HeifEncoder, CodecException)} otherwise.
     */
Sends input EOS to the encoder. Result will be notified asynchronously via
Callback#onComplete(HeifEncoder) if encoder reaches EOS without error, or
Callback#onError(HeifEncoder, CodecException) otherwise.
Sends input EOS to the encoder . Result will be notified asynchronously via Callback#onComplete ( HeifEncoder ) if encoder reaches EOS without error or Callback#onError ( HeifEncoder CodecException ) otherwise .
public void stopAsync() {
        if (mInputMode == INPUT_MODE_BITMAP) {
            mEOSTracker.updateInputEOSTime(0);
        } else if (mInputMode == INPUT_MODE_BUFFER) {
            addYuvBufferInternal(null);
        }
    }
public void stopAsync ( ) { if ( mInputMode == INPUT_MODE_BITMAP ) { mEOSTracker . updateInputEOSTime ( 0 ) ; } else if ( mInputMode == INPUT_MODE_BUFFER ) { addYuvBufferInternal ( null ) ; } }
Sends input EOS to the encoder.
Sends input EOS to the encoder .
// here we simply set the EOS timestamp to 0, so that the cut off will be the last // bitmap ever added.