mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Minor code move for readability
PiperOrigin-RevId: 631922318
This commit is contained in:
parent
8b14d71ff0
commit
d977eab5f1
1 changed files with 14 additions and 14 deletions
|
|
@ -182,20 +182,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
super.flush();
|
||||
}
|
||||
|
||||
/** Information needed to generate all the frames associated with a specific {@link Bitmap}. */
|
||||
private static final class BitmapFrameSequenceInfo {
|
||||
public final Bitmap bitmap;
|
||||
private final FrameInfo frameInfo;
|
||||
private final TimestampIterator inStreamOffsetsUs;
|
||||
|
||||
public BitmapFrameSequenceInfo(
|
||||
Bitmap bitmap, FrameInfo frameInfo, TimestampIterator inStreamOffsetsUs) {
|
||||
this.bitmap = bitmap;
|
||||
this.frameInfo = frameInfo;
|
||||
this.inStreamOffsetsUs = inStreamOffsetsUs;
|
||||
}
|
||||
}
|
||||
|
||||
private void updateCurrentGlTextureInfo(FrameInfo frameInfo, Bitmap bitmap)
|
||||
throws VideoFrameProcessingException {
|
||||
int currentTexId;
|
||||
|
|
@ -218,4 +204,18 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
throw VideoFrameProcessingException.from(e);
|
||||
}
|
||||
}
|
||||
|
||||
/** Information needed to generate all the frames associated with a specific {@link Bitmap}. */
|
||||
private static final class BitmapFrameSequenceInfo {
|
||||
public final Bitmap bitmap;
|
||||
private final FrameInfo frameInfo;
|
||||
private final TimestampIterator inStreamOffsetsUs;
|
||||
|
||||
public BitmapFrameSequenceInfo(
|
||||
Bitmap bitmap, FrameInfo frameInfo, TimestampIterator inStreamOffsetsUs) {
|
||||
this.bitmap = bitmap;
|
||||
this.frameInfo = frameInfo;
|
||||
this.inStreamOffsetsUs = inStreamOffsetsUs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue