Lines Matching refs:draining
261 const VideoRenderBuffer* VideoDecoderBase::getOutput(bool draining, VideoErrorBuffer *outErrBuf) {
268 if (draining) {
290 if (draining && mOutputTail == NULL) {
303 output = findOutputByPoc(draining);
305 output = findOutputByPct(draining);
347 if (draining && mOutputTail == NULL) {
373 VideoSurfaceBuffer* VideoDecoderBase::findOutputByPct(bool draining) {
397 if (outputByPct == NULL && draining) {
404 VideoSurfaceBuffer* VideoDecoderBase::findOutputByPoc(bool draining) {
408 // Otherwise, if draining flag is set or list is full, frame with the least POC is output;
464 if (draining == false && dpbFullness < mOutputWindowSize) {
465 // list is not full and we are not in draining state
486 VideoSurfaceBuffer* VideoDecoderBase::findOutputByPoc(bool draining) {
534 if (draining == true && output == NULL) {