Home
last modified time | relevance | path

Searched refs:ycbcr (Results 1 – 25 of 43) sorted by relevance

12

/external/pdfium/third_party/libtiff/
Dtif_color.c183 TIFFYCbCrtoRGB(TIFFYCbCrToRGB *ycbcr, uint32 Y, int32 Cb, int32 Cr, in TIFFYCbCrtoRGB() argument
193 i = ycbcr->Y_tab[Y] + ycbcr->Cr_r_tab[Cr]; in TIFFYCbCrtoRGB()
195 i = ycbcr->Y_tab[Y] in TIFFYCbCrtoRGB()
196 + (int)((ycbcr->Cb_g_tab[Cb] + ycbcr->Cr_g_tab[Cr]) >> SHIFT); in TIFFYCbCrtoRGB()
198 i = ycbcr->Y_tab[Y] + ycbcr->Cb_b_tab[Cb]; in TIFFYCbCrtoRGB()
236 TIFFYCbCrToRGBInit(TIFFYCbCrToRGB* ycbcr, float *luma, float *refBlackWhite) in TIFFYCbCrToRGBInit() argument
246 (uint8*) ycbcr+TIFFroundup_32(sizeof (TIFFYCbCrToRGB), sizeof (long))); in TIFFYCbCrToRGBInit()
248 ycbcr->clamptab = (clamptab += 256); in TIFFYCbCrToRGBInit()
252 ycbcr->Cr_r_tab = (int*) (clamptab + 3*256); in TIFFYCbCrToRGBInit()
253 ycbcr->Cb_b_tab = ycbcr->Cr_r_tab + 256; in TIFFYCbCrToRGBInit()
[all …]
Dtif_getimage.c231 if (img->ycbcr) { in TIFFRGBAImageEnd()
232 _TIFFfree(img->ycbcr); in TIFFRGBAImageEnd()
233 img->ycbcr = NULL; in TIFFRGBAImageEnd()
290 img->ycbcr = NULL; in TIFFRGBAImageBegin()
1815 TIFFYCbCrtoRGB(img->ycbcr, (Y), Cb, Cr, &r, &g, &b); \
2294 TIFFYCbCrtoRGB(img->ycbcr,*r++,*g++,*b++,&dr,&dg,&db); in DECLARESepPutFunc()
2315 if (img->ycbcr == NULL) { in initYCbCrConversion()
2316 img->ycbcr = (TIFFYCbCrToRGB*) _TIFFmalloc( in initYCbCrConversion()
2322 if (img->ycbcr == NULL) { in initYCbCrConversion()
2357 if (TIFFYCbCrToRGBInit(img->ycbcr, luma, refBlackWhite) < 0) in initYCbCrConversion()
/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc291 int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr) in gralloc0_lock_ycbcr() argument
293 return module->lockAsync_ycbcr(module, handle, usage, l, t, w, h, ycbcr, -1); in gralloc0_lock_ycbcr()
339 struct android_ycbcr *ycbcr, int fence_fd) in gralloc0_lock_async_ycbcr() argument
375 ycbcr->y = addr[0]; in gralloc0_lock_async_ycbcr()
376 ycbcr->cb = addr[1]; in gralloc0_lock_async_ycbcr()
377 ycbcr->cr = addr[1] + 1; in gralloc0_lock_async_ycbcr()
378 ycbcr->ystride = hnd->strides[0]; in gralloc0_lock_async_ycbcr()
379 ycbcr->cstride = hnd->strides[1]; in gralloc0_lock_async_ycbcr()
380 ycbcr->chroma_step = 2; in gralloc0_lock_async_ycbcr()
384 ycbcr->y = addr[0]; in gralloc0_lock_async_ycbcr()
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c221 buffer->ycbcr[i].resource = pipe_buffer_create in vl_vb_init()
228 if (!buffer->ycbcr[i].resource) in vl_vb_init()
252 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); in vl_vb_init()
271 buf.buffer.resource = buffer->ycbcr[component].resource; in vl_vb_get_ycbcr()
300 buffer->ycbcr[i].vertex_stream = pipe_buffer_map in vl_vb_map()
303 buffer->ycbcr[i].resource, in vl_vb_map()
305 &buffer->ycbcr[i].transfer in vl_vb_map()
327 return buffer->ycbcr[component].vertex_stream; in vl_vb_get_ycbcr_stream()
355 pipe_buffer_unmap(pipe, buffer->ycbcr[i].transfer); in vl_vb_unmap()
371 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); in vl_vb_cleanup()
Dvl_vertex_buffers.h99 } ycbcr[VL_NUM_COMPONENTS]; member
/external/autotest/server/site_tests/cheets_CTS_P/
Dcontrol.x86.CtsDeqpTestCases.dEQP-VK.ycbcr8 NAME = 'cheets_CTS_P.x86.CtsDeqpTestCases.dEQP-VK.ycbcr'
16 DOC = 'Run module CtsDeqpTestCases.dEQP-VK.ycbcr of the Android Compatibility Test Suite (CTS) usin…
25 tag='x86.CtsDeqpTestCases.dEQP-VK.ycbcr',
26 test_name='cheets_CTS_P.x86.CtsDeqpTestCases.dEQP-VK.ycbcr',
27 …-include-filter', 'CtsDeqpTestCases', '--module', 'CtsDeqpTestCases', '--test', 'dEQP-VK.ycbcr.*'],
Dcontrol.arm.CtsDeqpTestCases.dEQP-VK.ycbcr8 NAME = 'cheets_CTS_P.arm.CtsDeqpTestCases.dEQP-VK.ycbcr'
16 DOC = 'Run module CtsDeqpTestCases.dEQP-VK.ycbcr of the Android Compatibility Test Suite (CTS) usin…
25 tag='arm.CtsDeqpTestCases.dEQP-VK.ycbcr',
26 test_name='cheets_CTS_P.arm.CtsDeqpTestCases.dEQP-VK.ycbcr',
27 …-include-filter', 'CtsDeqpTestCases', '--module', 'CtsDeqpTestCases', '--test', 'dEQP-VK.ycbcr.*'],
/external/minigbm/cros_gralloc/gralloc0/tests/
Dgralloctest.c106 struct android_ycbcr ycbcr; /* sw access for yuv buffers */ member
118 info->ycbcr.y = NULL; in grallocinfo_init()
119 info->ycbcr.cb = NULL; in grallocinfo_init()
120 info->ycbcr.cr = NULL; in grallocinfo_init()
212 (info->h) / 2, &info->ycbcr); in lock_ycbcr()
241 (info->h) / 2, &info->ycbcr, info->fence_fd); in lock_async_ycbcr()
515 CHECK(info.ycbcr.y); in test_ycbcr()
516 CHECK(info.ycbcr.cb); in test_ycbcr()
517 CHECK(info.ycbcr.cr); in test_ycbcr()
579 CHECK(info.stride == info.ycbcr.ystride); in test_yuv_info()
[all …]
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c692 struct android_ycbcr ycbcr; in droid_create_image_from_prime_fd_yuv() local
704 memset(&ycbcr, 0, sizeof(ycbcr)); in droid_create_image_from_prime_fd_yuv()
706 0, 0, 0, 0, 0, &ycbcr); in droid_create_image_from_prime_fd_yuv()
721 offsets[0] = (size_t)ycbcr.y; in droid_create_image_from_prime_fd_yuv()
723 is_ycrcb = (size_t)ycbcr.cr < (size_t)ycbcr.cb; in droid_create_image_from_prime_fd_yuv()
725 offsets[1] = (size_t)ycbcr.cr; in droid_create_image_from_prime_fd_yuv()
726 offsets[2] = (size_t)ycbcr.cb; in droid_create_image_from_prime_fd_yuv()
728 offsets[1] = (size_t)ycbcr.cb; in droid_create_image_from_prime_fd_yuv()
729 offsets[2] = (size_t)ycbcr.cr; in droid_create_image_from_prime_fd_yuv()
736 pitches[0] = ycbcr.ystride; in droid_create_image_from_prime_fd_yuv()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DCMakeLists.txt35 add_library(deqp-vk-ycbcr STATIC ${DEQP_VK_YCBCR_SRCS})
36 target_link_libraries(deqp-vk-ycbcr ${DEQP_VK_YCBCR_LIBS})
DvktYCbCrFormatTests.hpp31 namespace ycbcr namespace
DvktYCbCrCopyTests.hpp31 namespace ycbcr namespace
DvktYCbCrTests.hpp31 namespace ycbcr namespace
DvktYCbCrImageQueryTests.hpp31 namespace ycbcr namespace
DvktYCbCrConversionTests.hpp31 namespace ycbcr namespace
DvktYCbCrViewTests.hpp31 namespace ycbcr namespace
DvktYCbCrTests.cpp34 namespace ycbcr namespace
DvktYCbCrUtil.hpp48 namespace ycbcr namespace
163 ChannelAccess getChannelAccess (ycbcr::MultiPlaneImageData& data,
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp185 …if (ycbcr::isXChromaSubsampled(config.format) && (config.xChromaOffset == vk::VK_CHROMA_LOCATION_C… in validateFormatSupport()
188 …if (ycbcr::isXChromaSubsampled(config.format) && (config.xChromaOffset == vk::VK_CHROMA_LOCATION_M… in validateFormatSupport()
191 …if (ycbcr::isYChromaSubsampled(config.format) && (config.yChromaOffset == vk::VK_CHROMA_LOCATION_C… in validateFormatSupport()
194 …if (ycbcr::isYChromaSubsampled(config.format) && (config.yChromaOffset == vk::VK_CHROMA_LOCATION_M… in validateFormatSupport()
314 const ycbcr::MultiPlaneImageData& imageData, in uploadYCbCrImage()
993 ycbcr::MultiPlaneImageData& ycbcrSrc, in generateYCbCrImage()
998 const tcu::FloatFormat filteringPrecision (ycbcr::getYCbCrFilteringPrecision(config.format)); in generateYCbCrImage()
999 …const tcu::FloatFormat conversionPrecision (ycbcr::getYCbCrConversionPrecision(config.format)… in generateYCbCrImage()
1000 const tcu::UVec4 bitDepth (ycbcr::getYCbCrBitDepth(config.format)); in generateYCbCrImage()
1009ycbcr::ChannelAccess nullAccess (tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT, 1u, tcu::IVe… in generateYCbCrImage()
[all …]
DCMakeLists.txt3 ../ycbcr
/external/deqp/external/vulkancts/modules/vulkan/
DCMakeLists.txt32 add_subdirectory(ycbcr)
68 ycbcr
124 deqp-vk-ycbcr
/external/u-boot/doc/device-tree-bindings/video/
Dexynos-dp.txt41 samsung,ycbcr-coeff: YCbCr co-efficients for input video
67 samsung,ycbcr-coeff = <0>;
/external/skia/src/gpu/vk/
DGrVkCaps.cpp222 if (auto ycbcr = dst->backendFormat().getVkYcbcrConversionInfo()) { in onCanCopySurface() local
223 if (ycbcr->isValid()) { in onCanCopySurface()
229 if (auto ycbcr = src->backendFormat().getVkYcbcrConversionInfo()) { in onCanCopySurface() local
230 if (ycbcr->isValid()) { in onCanCopySurface()
/external/ImageMagick/coders/
DMake.com145 $call Make ycbcr.c
159 uyvy,vicar,vid,viff,wbmp,webp,wmf,wpg,x,xbm,xc,xcf,xpm,xps,xwd,ycbcr,yuv, -
/external/u-boot/arch/arm/dts/
Dexynos5420-smdk5420.dts128 samsung,ycbcr-coeff = <0>;

12