Lines Matching refs:retframe
270 int retframe = avcodec_receive_frame(mCodecCtx, mFrame); in decodeFrameInternal() local
274 if (retframe != 0) { in decodeFrameInternal()
275 H264_DPRINT("decodeFrame has nonzero return value %d", retframe); in decodeFrameInternal()
276 if (retframe == AVERROR_EOF) { in decodeFrameInternal()
280 } else if (retframe == AVERROR(EAGAIN)) { in decodeFrameInternal()
283 H264_DPRINT("unknown value %d", retframe); in decodeFrameInternal()
374 int retframe = avcodec_receive_frame(mCodecCtx, mFrame); in getImage() local
375 if (retframe == AVERROR(EAGAIN) || retframe == AVERROR_EOF) { in getImage()
381 if (retframe != 0) { in getImage()
383 av_strerror(retframe, tmp, sizeof(tmp)); in getImage()
384 H264_DPRINT("WARNING: some unknown error %d: %s", retframe, in getImage()
389 H264_DPRINT("%s: got frame in flush mode retrun code %d", __func__, retframe); in getImage()