Home
last modified time | relevance | path

Searched refs:dpix (Results 1 – 5 of 5) sorted by relevance

/external/tesseract/liblept/
Dfpix1.c497 DPIX *dpix; in dpixCreate() local
506 if ((dpix = (DPIX *)CALLOC(1, sizeof(DPIX))) == NULL) in dpixCreate()
508 dpixSetDimensions(dpix, width, height); in dpixCreate()
509 dpixSetWpl(dpix, width); in dpixCreate()
510 dpix->refcount = 1; in dpixCreate()
515 dpixSetData(dpix, data); in dpixCreate()
517 return dpix; in dpixCreate()
560 dpixClone(DPIX *dpix) in dpixClone() argument
564 if (!dpix) in dpixClone()
566 dpixChangeRefcount(dpix, 1); in dpixClone()
[all …]
Dconvolve.c713 DPIX *dpix; in pixWindowedMeanSquare() local
725 if ((dpix = pixMeanSquareAccum(pixs)) == NULL) in pixWindowedMeanSquare()
727 wpl = dpixGetWpl(dpix); in pixWindowedMeanSquare()
728 data = dpixGetData(dpix); in pixWindowedMeanSquare()
751 dpixDestroy(&dpix); in pixWindowedMeanSquare()
780 DPIX *dpix; in pixMeanSquareAccum() local
788 if ((dpix = dpixCreate(w, h)) == NULL) in pixMeanSquareAccum()
793 data = dpixGetData(dpix); in pixMeanSquareAccum()
794 wpl = dpixGetWpl(dpix); in pixMeanSquareAccum()
820 return dpix; in pixMeanSquareAccum()
Dleptprotos.h485 LEPT_DLL extern DPIX * dpixClone ( DPIX *dpix );
489 LEPT_DLL extern l_int32 dpixGetDimensions ( DPIX *dpix, l_int32 *pw, l_int32 *ph );
490 LEPT_DLL extern l_int32 dpixSetDimensions ( DPIX *dpix, l_int32 w, l_int32 h );
491 LEPT_DLL extern l_int32 dpixGetWpl ( DPIX *dpix );
492 LEPT_DLL extern l_int32 dpixSetWpl ( DPIX *dpix, l_int32 wpl );
493 LEPT_DLL extern l_int32 dpixGetRefcount ( DPIX *dpix );
494 LEPT_DLL extern l_int32 dpixChangeRefcount ( DPIX *dpix, l_int32 delta );
495 LEPT_DLL extern l_int32 dpixGetResolution ( DPIX *dpix, l_int32 *pxres, l_int32 *pyres );
496 LEPT_DLL extern l_int32 dpixSetResolution ( DPIX *dpix, l_int32 xres, l_int32 yres );
498 LEPT_DLL extern l_float64 * dpixGetData ( DPIX *dpix );
[all …]
/external/qemu/hw/
Dgoldfish_fb.c198 unsigned dpix = dst[nn]; in goldfish_fb_update_display() local
202 if (spix != dpix) in goldfish_fb_update_display()
/external/tesseract/include/
Dleptprotos.h467 LEPT_DLL extern DPIX * dpixClone ( DPIX *dpix );
471 LEPT_DLL extern l_int32 dpixGetDimensions ( DPIX *dpix, l_int32 *pw, l_int32 *ph );
472 LEPT_DLL extern l_int32 dpixSetDimensions ( DPIX *dpix, l_int32 w, l_int32 h );
473 LEPT_DLL extern l_int32 dpixGetWpl ( DPIX *dpix );
474 LEPT_DLL extern l_int32 dpixSetWpl ( DPIX *dpix, l_int32 wpl );
475 LEPT_DLL extern l_int32 dpixGetRefcount ( DPIX *dpix );
476 LEPT_DLL extern l_int32 dpixChangeRefcount ( DPIX *dpix, l_int32 delta );
477 LEPT_DLL extern l_int32 dpixGetResolution ( DPIX *dpix, l_int32 *pxres, l_int32 *pyres );
478 LEPT_DLL extern l_int32 dpixSetResolution ( DPIX *dpix, l_int32 xres, l_int32 yres );
480 LEPT_DLL extern l_float64 * dpixGetData ( DPIX *dpix );
[all …]