Home
last modified time | relevance | path

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

/hardware/intel/common/libva/test/encode/
Dh264encode.c1695 unsigned char *srcyuv_ptr = NULL, *src_Y = NULL, *src_U = NULL, *src_V = NULL; in load_surface() local
1716 srcyuv_ptr = (unsigned char *)mmap_ptr + (frame_start & 0xfff); in load_surface()
1718 src_Y = srcyuv_ptr; in load_surface()
1723 src_Y = srcyuv_ptr; in load_surface()
2092 char *srcyuv_ptr = NULL, *recyuv_ptr = NULL, tmp; in calc_PSNR() local
2103 if (srcyuv_ptr) in calc_PSNR()
2104 munmap(srcyuv_ptr, fourM); in calc_PSNR()
2108 srcyuv_ptr = mmap(0, fourM, PROT_READ, MAP_SHARED, fileno(srcyuv_fp), i); in calc_PSNR()
2110 if ((srcyuv_ptr == MAP_FAILED) || (recyuv_ptr == MAP_FAILED)) { in calc_PSNR()
2115 tmp = srcyuv_ptr[j] - recyuv_ptr[j]; in calc_PSNR()
[all …]