VP8/VP9的小小分析:):)

【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_image_t *img,

vpx_codec_pts_t pts,

unsigned long duration,

vpx_enc_frame_flags_t flags,

unsigned long deadline)


你可能感兴趣的:(分析,VP8,vp9)