Home
last modified time | relevance | path

Searched refs:ycbcr (Results 1 – 25 of 31) 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()
Dtiffio.h225 TIFFYCbCrToRGB* ycbcr; /* YCbCr conversion state */ member
/external/drm_gralloc/
Dgralloc.cpp114 int usage, int x, int y, int w, int h, struct android_ycbcr *ycbcr) in drm_mod_lock_ycbcr() argument
139 ycbcr->y = ptr; in drm_mod_lock_ycbcr()
140 ycbcr->cb = (uint8_t *)ptr + handle->stride * handle->height; in drm_mod_lock_ycbcr()
141 ycbcr->cr = (uint8_t *)ycbcr->cb + 1; in drm_mod_lock_ycbcr()
142 ycbcr->ystride = handle->stride; in drm_mod_lock_ycbcr()
143 ycbcr->cstride = handle->stride; in drm_mod_lock_ycbcr()
144 ycbcr->chroma_step = 2; in drm_mod_lock_ycbcr()
/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()
253 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); in vl_vb_init()
272 buf.buffer = buffer->ycbcr[component].resource; in vl_vb_get_ycbcr()
301 buffer->ycbcr[i].vertex_stream = pipe_buffer_map in vl_vb_map()
304 buffer->ycbcr[i].resource, in vl_vb_map()
306 &buffer->ycbcr[i].transfer in vl_vb_map()
328 return buffer->ycbcr[component].vertex_stream; in vl_vb_get_ycbcr_stream()
356 pipe_buffer_unmap(pipe, buffer->ycbcr[i].transfer); in vl_vb_unmap()
372 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); in vl_vb_cleanup()
Dvl_vertex_buffers.h99 } ycbcr[VL_NUM_COMPONENTS]; member
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c591 struct android_ycbcr ycbcr; in droid_create_image_from_prime_fd_yuv() local
603 memset(&ycbcr, 0, sizeof(ycbcr)); in droid_create_image_from_prime_fd_yuv()
605 0, 0, 0, 0, 0, &ycbcr); in droid_create_image_from_prime_fd_yuv()
615 offsets[0] = (size_t)ycbcr.y; in droid_create_image_from_prime_fd_yuv()
617 is_ycrcb = (size_t)ycbcr.cr < (size_t)ycbcr.cb; in droid_create_image_from_prime_fd_yuv()
619 offsets[1] = (size_t)ycbcr.cr; in droid_create_image_from_prime_fd_yuv()
620 offsets[2] = (size_t)ycbcr.cb; in droid_create_image_from_prime_fd_yuv()
622 offsets[1] = (size_t)ycbcr.cb; in droid_create_image_from_prime_fd_yuv()
623 offsets[2] = (size_t)ycbcr.cr; in droid_create_image_from_prime_fd_yuv()
630 pitches[0] = ycbcr.ystride; in droid_create_image_from_prime_fd_yuv()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DCMakeLists.txt32 add_library(deqp-vk-ycbcr STATIC ${DEQP_VK_YCBCR_SRCS})
33 target_link_libraries(deqp-vk-ycbcr ${DEQP_VK_YCBCR_LIBS})
DvktYCbCrFormatTests.hpp31 namespace ycbcr namespace
DvktYCbCrCopyTests.hpp31 namespace ycbcr namespace
DvktYCbCrConversionTests.hpp31 namespace ycbcr namespace
DvktYCbCrTests.hpp31 namespace ycbcr namespace
DvktYCbCrViewTests.hpp31 namespace ycbcr namespace
DvktYCbCrImageQueryTests.hpp31 namespace ycbcr namespace
DvktYCbCrTests.cpp34 namespace ycbcr namespace
DvktYCbCrUtil.hpp48 namespace ycbcr namespace
163 ChannelAccess getChannelAccess (ycbcr::MultiPlaneImageData& data,
DvktYCbCrFormatTests.cpp49 namespace ycbcr namespace
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp184 …if (ycbcr::isXChromaSubsampled(config.format) && (config.xChromaOffset == vk::VK_CHROMA_LOCATION_C… in validateFormatSupport()
187 …if (ycbcr::isXChromaSubsampled(config.format) && (config.xChromaOffset == vk::VK_CHROMA_LOCATION_M… in validateFormatSupport()
190 …if (ycbcr::isYChromaSubsampled(config.format) && (config.yChromaOffset == vk::VK_CHROMA_LOCATION_C… in validateFormatSupport()
193 …if (ycbcr::isYChromaSubsampled(config.format) && (config.yChromaOffset == vk::VK_CHROMA_LOCATION_M… in validateFormatSupport()
313 const ycbcr::MultiPlaneImageData& imageData, in uploadYCbCrImage()
992 ycbcr::MultiPlaneImageData& ycbcrSrc, in generateYCbCrImage()
997 const tcu::FloatFormat filteringPrecision (ycbcr::getYCbCrFilteringPrecision(config.format)); in generateYCbCrImage()
998 …const tcu::FloatFormat conversionPrecision (ycbcr::getYCbCrConversionPrecision(config.format)… in generateYCbCrImage()
999 const tcu::UVec4 bitDepth (ycbcr::getYCbCrBitDepth(config.format)); in generateYCbCrImage()
1008ycbcr::ChannelAccess nullAccess (tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT, 1u, tcu::IVe… in generateYCbCrImage()
[all …]
DCMakeLists.txt3 ../ycbcr
/external/deqp/external/vulkancts/modules/vulkan/
DCMakeLists.txt31 add_subdirectory(ycbcr)
63 ycbcr
120 deqp-vk-ycbcr
DvktTestPackage.cpp450 addChild(ycbcr::createTests (m_testCtx)); in init()
/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, -
DAndroid.mk144 ycbcr.c\
DMakefile.am204 coders/ycbcr.c \
330 coders/ycbcr.la \
1095 coders_ycbcr_la_SOURCES = coders/ycbcr.c
/external/deqp/
DAndroidGen.mk321 external/vulkancts/modules/vulkan/ycbcr/vktYCbCrConversionTests.cpp \
322 external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp \
323 external/vulkancts/modules/vulkan/ycbcr/vktYCbCrFormatTests.cpp \
324 external/vulkancts/modules/vulkan/ycbcr/vktYCbCrImageQueryTests.cpp \
325 external/vulkancts/modules/vulkan/ycbcr/vktYCbCrTests.cpp \
326 external/vulkancts/modules/vulkan/ycbcr/vktYCbCrUtil.cpp \
327 external/vulkancts/modules/vulkan/ycbcr/vktYCbCrViewTests.cpp \
1041 $(deqp_dir)/external/vulkancts/modules/vulkan/ycbcr \

12