Searched refs:abs_sub_q (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | csp.c | 98 static av_always_inline AVRational abs_sub_q(AVRational r1, AVRational r2) in abs_sub_q() function 114 delta = abs_sub_q(prm->prim.r.x, ref->prim.r.x); in av_csp_primaries_id_from_desc() 115 delta = av_add_q(delta, abs_sub_q(prm->prim.r.y, ref->prim.r.y)); in av_csp_primaries_id_from_desc() 116 delta = av_add_q(delta, abs_sub_q(prm->prim.g.x, ref->prim.g.x)); in av_csp_primaries_id_from_desc() 117 delta = av_add_q(delta, abs_sub_q(prm->prim.g.y, ref->prim.g.y)); in av_csp_primaries_id_from_desc() 118 delta = av_add_q(delta, abs_sub_q(prm->prim.b.x, ref->prim.b.x)); in av_csp_primaries_id_from_desc() 119 delta = av_add_q(delta, abs_sub_q(prm->prim.b.y, ref->prim.b.y)); in av_csp_primaries_id_from_desc() 120 delta = av_add_q(delta, abs_sub_q(prm->wp.x, ref->wp.x)); in av_csp_primaries_id_from_desc() 121 delta = av_add_q(delta, abs_sub_q(prm->wp.y, ref->wp.y)); in av_csp_primaries_id_from_desc()
|