Lines Matching refs:ok
41 int ok = 1;
46 ok = 0;
53 ok &= (y_size <= buf->y_size);
54 ok &= (u_size <= buf->u_size);
55 ok &= (v_size <= buf->v_size);
56 ok &= (buf->y_stride >= width);
57 ok &= (buf->u_stride >= (width + 1) / 2);
58 ok &= (buf->v_stride >= (width + 1) / 2);
59 ok &= (buf->y != NULL);
60 ok &= (buf->u != NULL);
61 ok &= (buf->v != NULL);
63 ok &= (buf->a_stride >= width);
64 ok &= (a_size <= buf->a_size);
65 ok &= (buf->a != NULL);
70 ok &= (size <= buf->size);
71 ok &= (buf->stride >= width * kModeBpp[mode]);
72 ok &= (buf->rgba != NULL);
74 return ok ? VP8_STATUS_OK : VP8_STATUS_INVALID_PARAM;