Home
last modified time | relevance | path

Searched refs:ph0 (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.c765 int i, retval = 0, row, pw0, ph0, pw[MAX_COMPONENTS], ph[MAX_COMPONENTS]; in tjEncodeYUVPlanes() local
821 ph0 = PAD(height, cinfo->max_v_samp_factor); in tjEncodeYUVPlanes()
823 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * ph0)) == NULL) in tjEncodeYUVPlanes()
831 if (height < ph0) in tjEncodeYUVPlanes()
832 for (i = height; i < ph0; i++) row_pointer[i] = row_pointer[height - 1]; in tjEncodeYUVPlanes()
870 ph[i] = ph0 * compptr->v_samp_factor / cinfo->max_v_samp_factor; in tjEncodeYUVPlanes()
886 for (row = 0; row < ph0; row += cinfo->max_v_samp_factor) { in tjEncodeYUVPlanes()
920 int pw0, ph0, strides[3], retval = -1; in tjEncodeYUV3() local
931 ph0 = tjPlaneHeight(0, height, subsamp); in tjEncodeYUV3()
942 dstPlanes[1] = dstPlanes[0] + strides[0] * ph0; in tjEncodeYUV3()
[all …]
/third_party/libjpeg-turbo/
Dturbojpeg.c776 int i, retval = 0, row, pw0, ph0, pw[MAX_COMPONENTS], ph[MAX_COMPONENTS]; local
832 ph0 = PAD(height, cinfo->max_v_samp_factor);
834 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * ph0)) == NULL)
842 if (height < ph0)
843 for (i = height; i < ph0; i++) row_pointer[i] = row_pointer[height - 1];
881 ph[i] = ph0 * compptr->v_samp_factor / cinfo->max_v_samp_factor;
897 for (row = 0; row < ph0; row += cinfo->max_v_samp_factor) {
931 int pw0, ph0, strides[3], retval = -1; local
942 ph0 = tjPlaneHeight(0, height, subsamp);
953 dstPlanes[1] = dstPlanes[0] + strides[0] * ph0;
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg.c705 int i, retval = 0, row, pw0, ph0, pw[MAX_COMPONENTS], ph[MAX_COMPONENTS]; in tjEncodeYUVPlanes() local
761 ph0 = PAD(height, cinfo->max_v_samp_factor); in tjEncodeYUVPlanes()
763 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * ph0)) == NULL) in tjEncodeYUVPlanes()
771 if (height < ph0) in tjEncodeYUVPlanes()
772 for (i = height; i < ph0; i++) row_pointer[i] = row_pointer[height - 1]; in tjEncodeYUVPlanes()
810 ph[i] = ph0 * compptr->v_samp_factor / cinfo->max_v_samp_factor; in tjEncodeYUVPlanes()
826 for (row = 0; row < ph0; row += cinfo->max_v_samp_factor) { in tjEncodeYUVPlanes()
860 int pw0, ph0, strides[3], retval = -1; in tjEncodeYUV3() local
871 ph0 = tjPlaneHeight(0, height, subsamp); in tjEncodeYUV3()
882 dstPlanes[1] = dstPlanes[0] + strides[0] * ph0; in tjEncodeYUV3()
[all …]
/third_party/musl/porting/linux/user/ldso/
Ddynlink_rand.h56 Phdr *ph0; member
Ddynlink.c1365 Phdr *ph, *ph0; in map_library() local
1388 ph = ph0 = allocated_buf; in map_library()
1393 ph = ph0 = (void *)(buf + 1); in map_library()
1395 ph = ph0 = (void *)((char *)buf + eh->e_phoff); in map_library()
1434 for (ph=ph0, i=0; i<nsegs; ph=(void *)((char *)ph+eh->e_phentsize)) { in map_library()
1478 size_t maxinum_alignment = phdr_table_get_maxinum_alignment(ph0, eh->e_phnum); in map_library()
1545 for (ph=ph0, i=eh->e_phnum; i; i--, ph=(void *)((char *)ph+eh->e_phentsize)) { in map_library()
4558 ph = task->ph0 = task->allocated_buf; in map_library_header()
4569 ph = task->ph0 = (void *)(task->ehdr_buf + 1); in map_library_header()
4571 ph = task->ph0 = (void *)((char *)task->ehdr_buf + task->eh->e_phoff); in map_library_header()
[all …]
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c631 Phdr *ph, *ph0; in map_library() local
650 ph = ph0 = allocated_buf; in map_library()
655 ph = ph0 = (void *)(buf + 1); in map_library()
657 ph = ph0 = (void *)((char *)buf + eh->e_phoff); in map_library()
696 for (ph=ph0, i=0; i<nsegs; ph=(void *)((char *)ph+eh->e_phentsize)) { in map_library()
757 for (ph=ph0, i=eh->e_phnum; i; i--, ph=(void *)((char *)ph+eh->e_phentsize)) { in map_library()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c631 Phdr *ph, *ph0; in map_library() local
650 ph = ph0 = allocated_buf; in map_library()
655 ph = ph0 = (void *)(buf + 1); in map_library()
657 ph = ph0 = (void *)((char *)buf + eh->e_phoff); in map_library()
696 for (ph=ph0, i=0; i<nsegs; ph=(void *)((char *)ph+eh->e_phentsize)) { in map_library()
757 for (ph=ph0, i=eh->e_phnum; i; i--, ph=(void *)((char *)ph+eh->e_phentsize)) { in map_library()
/third_party/musl/ldso/
Ddynlink.c633 Phdr *ph, *ph0; in map_library() local
652 ph = ph0 = allocated_buf; in map_library()
657 ph = ph0 = (void *)(buf + 1); in map_library()
659 ph = ph0 = (void *)((char *)buf + eh->e_phoff); in map_library()
698 for (ph=ph0, i=0; i<nsegs; ph=(void *)((char *)ph+eh->e_phentsize)) { in map_library()
759 for (ph=ph0, i=eh->e_phnum; i; i--, ph=(void *)((char *)ph+eh->e_phentsize)) { in map_library()