Searched refs:frameIndex (Results 1 – 4 of 4) sorted by relevance
104 public byte[] readFrame(int frameIndex) throws IOException { in readFrame() argument105 if (frameIndex > mFrameCount || frameIndex < 0){ in readFrame()108 int frameSize = mFrameSizes[frameIndex]; in readFrame()109 int frameHead = mFrameHeads[frameIndex]; in readFrame()
1025 private void generateFrame(int frameIndex, int colorFormat, byte[] frameData) { in generateFrame() argument1034 frameIndex %= 8; in generateFrame()1036 if (frameIndex < 4) { in generateFrame()1037 startX = frameIndex * (mWidth / 4); in generateFrame()1040 startX = (7 - frameIndex) * (mWidth / 4); in generateFrame()1081 …private boolean checkFrame(int frameIndex, MediaFormat format, ByteBuffer frameData, Image image) { in checkFrame() argument1153 if (i == frameIndex % 8) { in checkFrame()1165 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": yuv=" + testY + in checkFrame()1178 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument1179 frameIndex %= 8; in generateSurfaceFrame()[all …]
354 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument355 frameIndex %= 8; in generateSurfaceFrame()358 if (frameIndex < 4) { in generateSurfaceFrame()360 startX = frameIndex * (mWidth / 4); in generateSurfaceFrame()363 startX = (7 - frameIndex) * (mWidth / 4); in generateSurfaceFrame()742 private boolean checkSurfaceFrame(int frameIndex) { in checkSurfaceFrame() argument764 if (i == frameIndex % 8) { in checkSurfaceFrame()778 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": rgb=" + r + in checkSurfaceFrame()804 private static long computePresentationTime(int frameIndex) { in computePresentationTime() argument805 return 123 + frameIndex * 1000000 / FRAME_RATE; in computePresentationTime()
1257 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument1258 return 132 + frameIndex * 1000000L / mFrameRate; in computePresentationTime()