Lines Matching defs:RO
74 enum perm { RO, RW };
75 static const char *perm_str[2] = { "RO", "RW" };
83 enum perm in_perm = av_frame_is_writable(frame) ? RW : RO;
87 case MODE_TOGGLE: out_perm = in_perm == RO ? RW : RO; break;
88 case MODE_RANDOM: out_perm = av_lfg_get(&perms->lfg) & 1 ? RW : RO; break;
89 case MODE_RO: out_perm = RO; break;
98 if (in_perm == RO && out_perm == RW) {
101 } else if (in_perm == RW && out_perm == RO) {
109 if (in_perm == RW && out_perm == RO)