MCPcopy Create free account
hub / github.com/CainKernel/CainCamera / decode

Function decode

medialibrary/src/main/cpp/FFCommand/ffmpeg.c:2261–2282  ·  view source on GitHub ↗

This does not quite work like avcodec_decode_audio4/avcodec_decode_video2. There is the following difference: if you got a frame, you must call it again with pkt=NULL. pkt==NULL is treated differently from pkt.size==0 (pkt==NULL means get more output, pkt.size==0 is a flush/drain packet)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

decode_audioFunction · 0.85
decode_videoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected