Searched refs:totFormat (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland-glamor-xv.c | 198 int totFormat; in xwl_glamor_xv_add_formats() local 202 totFormat = NUM_FORMATS; in xwl_glamor_xv_add_formats() 203 pFormat = xnfcalloc(totFormat, sizeof(XvFormatRec)); in xwl_glamor_xv_add_formats() 212 if (numFormat >= totFormat) { in xwl_glamor_xv_add_formats() 215 totFormat *= 2; in xwl_glamor_xv_add_formats() 216 moreSpace = xnfreallocarray(pFormat, totFormat, in xwl_glamor_xv_add_formats()
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/src/ |
| H A D | kxv.c | 201 int numFormat, totFormat; in KdXVInitAdaptors() local 299 totFormat = adaptorPtr->nFormats; in KdXVInitAdaptors() 301 if (!(pFormat = calloc(totFormat, sizeof(XvFormatRec)))) { in KdXVInitAdaptors() 314 if (numFormat >= totFormat) { in KdXVInitAdaptors() 317 totFormat *= 2; in KdXVInitAdaptors() 318 moreSpace = reallocarray(pFormat, totFormat, in KdXVInitAdaptors()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86xv.c | 322 int numFormat, totFormat; in xf86XVInitAdaptors() local 420 totFormat = adaptorPtr->nFormats; in xf86XVInitAdaptors() 422 if (!(pFormat = calloc(totFormat, sizeof(XvFormatRec)))) { in xf86XVInitAdaptors() 435 if (numFormat >= totFormat) { in xf86XVInitAdaptors() 438 totFormat *= 2; in xf86XVInitAdaptors() 439 moreSpace = reallocarray(pFormat, totFormat, in xf86XVInitAdaptors()
|