code wiki / (root) / nx_pair_synchrony.nx

nx_pair_synchrony.nx

buildroot/runtime/nx_pair_synchrony.nx

7535 B173 linesdepth 3pulls 4 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_pair_synchrony.nx -- pair-relation scoring for multi-character scenes. Image #55: synchronized blonde pair both bent over at the beach with matching innie aesthetic. This is the pair-level signal substrate needs to detect/encourage. Three pair axes: 1. POSE_SYNC — are both characters in the same/mirror pose? 2. AESTHETIC_MATCH — do they share aesthetic target (innie / hair color etc.)? 3. IDENTITY_DISTINCT — do they read as TWO people, not clones? Pair synchrony is the OPPOSITE of identity-distinctness in one sense (matched poses = synced) but POSE matching is independent from FACE distinctness. Two clearly distinct faces in matched poses + matched aesthetic = the image #55 pattern. Output flat-array per pair: result[0] = pose_sync_q10 (1024=identical, 0=opposite) result[1] = pose_mirror_q10 (1024=mirrored L/R, 0=not mirrored) result[2] = aesthetic_match_q10 (1024=same aesthetic target, 0=mismatched) result[3] = identity_distinct_q10 (1024=distinct, 0=clones) result[4] = scale_coherence_q10 (1024=similar body scale) result[5] = verdict 0=DISCORDANT, 1=ASYMMETRIC, 2=MATCHED, 3=SYNCHRONIZED_PAIR

dependencies 3 imports · 1 importers

nx_syscalls.nx nx_v7_bundle.nx nx_pose_classify.nx nx_pair_synchrony.nx nx_multi_pair_test.nx

imports: nx_syscalls.nxnx_v7_bundle.nxnx_pose_classify.nx

imported by: nx_multi_pair_test.nx

structs

none

consts

35const NX_MAGIC_1024: i64 = 1024
37const NX_PAIR_RES_POSE_SYNC: i64 = 0
38const NX_PAIR_RES_POSE_MIRROR: i64 = 1
39const NX_PAIR_RES_AES_MATCH: i64 = 2
40const NX_PAIR_RES_DISTINCT: i64 = 3
41const NX_PAIR_RES_SCALE_COH: i64 = 4
42const NX_PAIR_RES_VERDICT: i64 = 5
43const NX_PAIR_RES_FIELDS: i64 = 6
45const NX_PAIR_V_DISCORDANT: i64 = 0
46const NX_PAIR_V_ASYMMETRIC: i64 = 1
47const NX_PAIR_V_MATCHED: i64 = 2
48const NX_PAIR_V_SYNCHRONIZED_PAIR: i64 = 3

functions

51func nx_pair_pose_sync_q10(bundle_a: *i64, bundle_b: *i64) -> i64
66func nx_pair_pose_mirror_q10(bundle_a: *i64, bundle_b: *i64,
90func nx_pair_identity_distinct_q10(bundle_a: *i64, bundle_b: *i64) -> i64
107func nx_pair_aesthetic_match_q10(bundle_a: *i64, bundle_b: *i64) -> i64
122func nx_pair_scale_coherence_q10(bundle_a: *i64, bundle_b: *i64) -> i64
134func nx_pair_synchrony(bundle_a: *i64, bundle_b: *i64,