【minglingha】
simple_encoder 1280 720 basketball.yuv test.vpx
simple_decoder test.vpx test.yuv
vpcenc.c的main函數(入口)
FOREACH_STREAM(encode_frame(stream, &global,
frame_avail ? &raw : NULL,
frames_in));
vpcenc.c的encode_frame函數
vpx_codec_encode(&stream->encoder, img, frame_start,
(unsigned long)(next_frame_start - frame_start),
0, global->deadline);
vpx_encoder.c的vpx_codec_encode函數
vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_p_w_picpath_t *img,
vpx_codec_pts_t pts,
unsigned long duration,
vpx_enc_frame_flags_t flags,
unsigned long deadline)
转载于:https://blog.51cto.com/minounou/1316520