Searched refs:frameIndex (Results 1 – 5 of 5) 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()
1077 private void generateFrame(int frameIndex, int colorFormat, byte[] frameData) { in generateFrame() argument1086 frameIndex %= 8; in generateFrame()1088 if (frameIndex < 4) { in generateFrame()1089 startX = frameIndex * (mWidth / 4); in generateFrame()1092 startX = (7 - frameIndex) * (mWidth / 4); in generateFrame()1133 …private boolean checkFrame(int frameIndex, MediaFormat format, ByteBuffer frameData, Image image) { in checkFrame() argument1207 if (i == frameIndex % 8) { in checkFrame()1219 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": yuv=" + testY + in checkFrame()1232 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument1233 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()
78 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in getData() local
1377 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument1378 return 132 + frameIndex * 1000000L / mFrameRate; in computePresentationTime()