full hd phone videos 3mb size os algorithms in c