MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_frame_alloc

Function av_frame_alloc

libavutil/frame.c:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52AVFrame *av_frame_alloc(void)
53{
54 AVFrame *frame = av_malloc(sizeof(*frame));
55
56 if (!frame)
57 return NULL;
58
59 get_frame_defaults(frame);
60
61 return frame;
62}
63
64void av_frame_free(AVFrame **frame)
65{

Callers 15

lavfi_read_packetFunction · 0.85
kmsgrab_read_packetFunction · 0.85
LLVMFuzzerTestOneInputFunction · 0.85
mainFunction · 0.85
LLVMFuzzerTestOneInputFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
ds_openFunction · 0.85
try_decode_frameFunction · 0.85
read_packet_vsFunction · 0.85
vt_transfer_data_fromFunction · 0.85
vt_transfer_data_toFunction · 0.85

Calls 2

get_frame_defaultsFunction · 0.85
av_mallocFunction · 0.70

Tested by 12

mainFunction · 0.68
mainFunction · 0.68
run_testFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
video_decodeFunction · 0.68
seek_testFunction · 0.68
sender_threadFunction · 0.68
dump_stream_metaFunction · 0.68
run_testFunction · 0.68
video_decode_exampleFunction · 0.68