Home
last modified time | relevance | path

Searched refs:retframe (Results 1 – 2 of 2) sorted by relevance

/hardware/google/aemu/host-common/
DMediaH264DecoderFfmpeg.cpp270 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()
[all …]
DMediaFfmpegVideoHelper.cpp165 int retframe = avcodec_receive_frame(mCodecCtx, mFrame); in fetchAllFrames() local
166 if (retframe != 0) { in fetchAllFrames()
169 av_strerror(retframe, tmp, sizeof(tmp)); in fetchAllFrames()
170 MEDIA_DPRINT("WARNING: some unknown error %d: %s", retframe, tmp); in fetchAllFrames()