Lines Matching defs:output

211     // check if there's buffer with DRC flag in the output queue
277 // output by position (the first buffer)
298 VideoSurfaceBuffer *output = NULL;
300 output = findOutputByPoc(draining);
302 output = findOutputByPct(draining);
304 ETRACE("Invalid output method.");
308 if (output == NULL) {
312 if (output != outputByPos) {
313 // remove this output from middle or end of the list
315 while (p->next != output) {
318 p->next = output->next;
319 if (mOutputTail == output) {
323 // remove this output from head of the list
329 //VTRACE("Output POC %d for display (pts = %.2f)", output->pictureOrder, output->renderBuffer.timeStamp/1E6);
330 vaStatus = vaSetTimestampForSurface(mVADisplay, output->renderBuffer.surface, output->renderBuffer.timeStamp);
333 vaSyncSurface(mVADisplay, output->renderBuffer.surface);
334 fillDecodingErrors(&(output->renderBuffer));
338 output->renderBuffer.flag |= IS_EOS;
341 drainDecodingErrors(outErrBuf, &(output->renderBuffer));
343 return &(output->renderBuffer);
347 // output by presentation time stamp - buffer with the smallest time stamp is output
364 // output by picture coding type (PCT)
366 // output non-reference frame if there is any.
395 // output by picture order count (POC)
397 // if there is IDR frame (POC == 0), all the frames before IDR must be output;
398 // Otherwise, if draining flag is set or list is full, frame with the least POC is output;
399 // Otherwise, NOTHING is output
410 // frame is being decoded and is not ready for output yet
416 // count dpbFullness with non-reference frame in the output queue
431 // output picture with the least POC before IDR
440 // POC of the output candidate must not be less than mNextOutputPOC
456 // if DPB is already full, one frame must be output
477 VideoSurfaceBuffer *output = NULL;
485 // any picture before this POC (new IDR) must be output
486 if (output == NULL) {
490 mNextOutputPOC = output->pictureOrder + 1;
497 output = p;
501 if (output != NULL) {
503 // 1) the next output POC is found.
504 // 2) output queue is full and there is at least one buffer meeting the output criteria.
505 mNextOutputPOC = output->pictureOrder + 1;
508 // this indicates output queue is full and no buffer in the queue meets the output criteria
509 // restart processing as queue is FULL and output criteria is changed. (next output POC is 0)
518 output = NULL;
524 if (draining == true && output == NULL) {
525 output = outputleastpoc;
528 return output;
617 // skipped frame is a "non-coded frame" and decoder needs to duplicate the previous reference frame as the output.
645 // frame is successfly decoded to the current surface, it is ready for output
671 // add to the output list
695 // frame is not decoded to the acquired buffer, current surface is invalid, and can't be output.