Searched refs:BUFFER_FLAG_KEY_FRAME (Results 1 – 5 of 5) sorted by relevance
45 private static final int BUFFER_FLAG_KEY_FRAME = 1; field in SampleChunk391 flags = (isKeyFrame(flags) ? C.BUFFER_FLAG_KEY_FRAME : 0) in read()410 return (flag & BUFFER_FLAG_KEY_FRAME) == BUFFER_FLAG_KEY_FRAME; in isKeyFrame()430 int flags = (sample.isKeyFrame() ? BUFFER_FLAG_KEY_FRAME : 0) in write()
46 sample.setFlags((sampleFromQueue.isKeyFrame() ? C.BUFFER_FLAG_KEY_FRAME : 0) in dequeueSample()
104 sampleToQueue.setFlags((sample.isKeyFrame() ? C.BUFFER_FLAG_KEY_FRAME : 0) in writeSample()
378 | (mDecoderInputBuffer.isKeyFrame() ? C.BUFFER_FLAG_KEY_FRAME : 0)); in queueSample()408 | (mDecoderInputBuffer.isKeyFrame() ? C.BUFFER_FLAG_KEY_FRAME : 0)); in queueSample()
505 if ((sample.flags & MediaCodec.BUFFER_FLAG_KEY_FRAME) != 0) { in doWrite()