Lines Matching defs:ok
42 int ok = 1;
47 ok = 0;
60 ok &= (y_size <= buf->y_size);
61 ok &= (u_size <= buf->u_size);
62 ok &= (v_size <= buf->v_size);
63 ok &= (y_stride >= width);
64 ok &= (u_stride >= uv_width);
65 ok &= (v_stride >= uv_width);
66 ok &= (buf->y != NULL);
67 ok &= (buf->u != NULL);
68 ok &= (buf->v != NULL);
70 ok &= (a_stride >= width);
71 ok &= (a_size <= buf->a_size);
72 ok &= (buf->a != NULL);
78 ok &= (size <= buf->size);
79 ok &= (stride >= width * kModeBpp[mode]);
80 ok &= (buf->rgba != NULL);
82 return ok ? VP8_STATUS_OK : VP8_STATUS_INVALID_PARAM;