encode 249 source/encoder/api.cpp numEncoded = encoder->encode(pic_in, pic_out); encode 200 source/encoder/encoder.h int encode(const x265_picture* pic, x265_picture *pic_out);