Lines Matching refs:oc
55 static int initialize_fifo_tst_muxer_chain(AVFormatContext **oc, AVPacket **pkt) in initialize_fifo_tst_muxer_chain() argument
60 ret = avformat_alloc_output_context2(oc, NULL, "fifo", "-"); in initialize_fifo_tst_muxer_chain()
67 s = avformat_new_stream(*oc, NULL); in initialize_fifo_tst_muxer_chain()
81 static int fifo_basic_test(AVFormatContext *oc, AVDictionary **opts, in fifo_basic_test() argument
86 ret = avformat_write_header(oc, opts); in fifo_basic_test()
100 ret = av_write_frame(oc, pkt); in fifo_basic_test()
109 ret = av_write_frame(oc, NULL); in fifo_basic_test()
116 ret = av_write_trailer(oc); in fifo_basic_test()
125 av_write_trailer(oc); in fifo_basic_test()
130 static int fifo_overflow_drop_test(AVFormatContext *oc, AVDictionary **opts, in fifo_overflow_drop_test() argument
136 ret = avformat_write_header(oc, opts); in fifo_overflow_drop_test()
151 ret = av_write_frame(oc, pkt); in fifo_overflow_drop_test()
172 ret = av_write_trailer(oc); in fifo_overflow_drop_test()
178 av_write_trailer(oc); in fifo_overflow_drop_test()
201 AVFormatContext *oc = NULL; in run_test() local
206 ret = initialize_fifo_tst_muxer_chain(&oc, &pkt); in run_test()
232 ret = test->test_func(oc, &opts, pkt, &test->pkt_data); in run_test()
236 avformat_free_context(oc); in run_test()