Searched refs:pixelFormat (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/video_render/mac/
H A Dcocoa_render_view.mm23 self = [super initWithFrame:[self frame] pixelFormat:fmt];
43 self = [super initWithFrame:screenRect pixelFormat:fmt];
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDisplay.java26 private int pixelFormat = PixelFormat.RGBA_4444; field in class:ShadowDisplay
66 return pixelFormat;
129 public void setPixelFormat(int pixelFormat) { argument
130 this.pixelFormat = pixelFormat;
/external/deqp/framework/common/
H A DtcuRenderTarget.hpp39 RenderTarget (int width, int height, const PixelFormat& pixelFormat, int depthBits, int stencilBits, int numSamples);
/external/deqp/framework/platform/win32/
H A DtcuWGL.hpp79 int pixelFormat; member in class:tcu::wgl::PixelFormatInfo
133 : pixelFormat (0)
165 PixelFormatInfo getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const;
190 Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat);
H A DtcuWGLContextFactory.cpp99 int pixelFormat = 0; local
102 pixelFormat = config.id;
104 pixelFormat = wgl::choosePixelFormat(wglCore, deviceCtx, config);
106 if (pixelFormat < 0)
109 m_context = new wgl::Context(&wglCore, deviceCtx, config.type, pixelFormat);
114 const wgl::PixelFormatInfo info = wglCore.getPixelFormatInfo(deviceCtx, pixelFormat);
H A DtcuWin32GLES3Platform.cpp92 const int pixelFormat = wgl::choosePixelFormat(wgl, deviceCtx, config); local
94 if (pixelFormat < 0)
97 m_platformCtx.context = new wgl::Context(&wgl, m_window.getDeviceContext(), wgl::PROFILE_COMPATIBILITY, 3, 3, pixelFormat);
111 const wgl::PixelFormatInfo info = wgl.getPixelFormatInfo(deviceCtx, pixelFormat);
H A DtcuWGL.cpp215 int pixelFormat = ChoosePixelFormat(tmpWindow.getDeviceContext(), &pixelFormatDesc); local
216 if (!SetPixelFormat(tmpWindow.getDeviceContext(), pixelFormat, &pixelFormatDesc))
304 PixelFormatInfo Core::getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const
326 if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, DE_LENGTH_OF_ARRAY(attribs), &attribs[0], &values[0]))
332 info.pixelFormat = pixelFormat;
353 Context::Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat) argument
405 if (!DescribePixelFormat(deviceCtx, pixelFormat, sizeof(pixelFormatDesc), &pixelFormatDesc))
408 if (!SetPixelFormat(deviceCtx, pixelFormat, &pixelFormatDesc))
498 return info.pixelFormat;
[all...]
/external/deqp/framework/platform/osx/
H A DtcuOSXPlatform.cpp124 CGLPixelFormatObj pixelFormat; local
127 if (CGLChoosePixelFormat(&attribs[0], &pixelFormat, &numVScreens) != kCGLNoError)
132 if (CGLCreateContext(pixelFormat, DE_NULL, &m_context) != kCGLNoError)
140 CGLReleasePixelFormat(pixelFormat);
144 CGLReleasePixelFormat(pixelFormat);
/external/chromium_org/third_party/decklink/mac/include/
H A DDeckLinkAPI_v9_2.h46 virtual HRESULT DoesSupportVideoMode (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* in */ BMDVideoInputFlags flags, /* out */ BMDDisplayModeSupport *result, /* out */ IDeckLinkDisplayMode **resultDisplayMode) = 0;
53 virtual HRESULT EnableVideoInput (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* in */ BMDVideoInputFlags flags) = 0;
H A DDeckLinkAPI_v9_9.h48 virtual HRESULT DoesSupportVideoMode (/* in */ BMDDisplayMode displayMode, /* in */ BMDPixelFormat pixelFormat, /* in */ BMDVideoOutputFlags flags, /* out */ BMDDisplayModeSupport *result, /* out */ IDeckLinkDisplayMode **resultDisplayMode) = 0;
59 virtual HRESULT CreateVideoFrame (/* in */ int32_t width, /* in */ int32_t height, /* in */ int32_t rowBytes, /* in */ BMDPixelFormat pixelFormat, /* in */ BMDFrameFlags flags, /* out */ IDeckLinkMutableVideoFrame **outFrame) = 0;
60 virtual HRESULT CreateAncillaryData (/* in */ BMDPixelFormat pixelFormat, /* out */ IDeckLinkVideoFrameAncillary **outBuffer) = 0;
H A DDeckLinkAPI_v7_3.h59 virtual HRESULT DoesSupportVideoMode (BMDDisplayMode displayMode, BMDPixelFormat pixelFormat, /* out */ BMDDisplayModeSupport *result) = 0;
70 virtual HRESULT CreateVideoFrame (int32_t width, int32_t height, int32_t rowBytes, BMDPixelFormat pixelFormat, BMDFrameFlags flags, /* out */ IDeckLinkMutableVideoFrame_v7_6 **outFrame) = 0;
71 virtual HRESULT CreateAncillaryData (BMDPixelFormat pixelFormat, /* out */ IDeckLinkVideoFrameAncillary **outBuffer) = 0;
128 virtual HRESULT DoesSupportVideoMode (BMDDisplayMode displayMode, BMDPixelFormat pixelFormat, /* out */ BMDDisplayModeSupport *result) = 0;
135 virtual HRESULT EnableVideoInput (BMDDisplayMode displayMode, BMDPixelFormat pixelFormat, BMDVideoInputFlags flags) = 0;
H A DDeckLinkAPI_v7_1.h103 virtual HRESULT STDMETHODCALLTYPE DoesSupportVideoMode (BMDDisplayMode displayMode, BMDPixelFormat pixelFormat, BMDDisplayModeSupport *result) = 0;
112 virtual HRESULT STDMETHODCALLTYPE CreateVideoFrame (int32_t width, int32_t height, int32_t rowBytes, BMDPixelFormat pixelFormat, BMDFrameFlags flags, IDeckLinkVideoFrame_v7_1* *outFrame) = 0;
113 virtual HRESULT STDMETHODCALLTYPE CreateVideoFrameFromBuffer (void* buffer, int32_t width, int32_t height, int32_t rowBytes, BMDPixelFormat pixelFormat, BMDFrameFlags flags, IDeckLinkVideoFrame_v7_1* *outFrame) = 0;
146 virtual HRESULT STDMETHODCALLTYPE DoesSupportVideoMode (BMDDisplayMode displayMode, BMDPixelFormat pixelFormat, BMDDisplayModeSupport *result) = 0;
150 virtual HRESULT STDMETHODCALLTYPE EnableVideoInput (BMDDisplayMode displayMode, BMDPixelFormat pixelFormat, BMDVideoInputFlags flags) = 0;
/external/deqp/framework/platform/ios/
H A DtcuIOSPlatform.mm216 tcu::PixelFormat pixelFormat;
244 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_RED_SIZE, &pixelFormat.redBits);
245 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_GREEN_SIZE, &pixelFormat.greenBits);
246 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_BLUE_SIZE, &pixelFormat.blueBits);
247 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, &pixelFormat.alphaBits);
281 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, 0);
/external/chromium_org/third_party/libjpeg_turbo/
H A Dturbojpeg.c149 int pixelFormat, int subsamp, int jpegQual, int flags)
153 switch(pixelFormat)
185 cinfo->in_color_space=JCS_RGB; pixelFormat=TJPF_RGB;
190 cinfo->input_components=tjPixelSize[pixelFormat];
214 int pixelFormat, int flags)
218 switch(pixelFormat)
319 int height, int pixelFormat, unsigned char *dst)
322 switch(pixelFormat)
380 int pitch, int height, int pixelFormat)
382 switch(pixelFormat)
148 setCompDefaults(struct jpeg_compress_struct *cinfo, int pixelFormat, int subsamp, int jpegQual, int flags) argument
213 setDecompDefaults(struct jpeg_decompress_struct *dinfo, int pixelFormat, int flags) argument
318 toRGB(unsigned char *src, int width, int pitch, int height, int pixelFormat, unsigned char *dst) argument
379 fromRGB(unsigned char *src, unsigned char *dst, int width, int pitch, int height, int pixelFormat) argument
574 tjCompress2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf, unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) argument
672 tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, int subsamp, int flags) argument
939 tjDecompress2(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat, int flags) argument
[all...]
H A Dturbojpeg.h522 * <tt>width * #tjPixelSize[pixelFormat]</tt> if the image is unpadded,
523 * or <tt>#TJPAD(width * #tjPixelSize[pixelFormat])</tt> if each line of
527 * setting it to <tt>width * #tjPixelSize[pixelFormat]</tt>.
529 * @param pixelFormat pixel format of the source image (see @ref TJPF
562 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf,
628 * <tt>width * #tjPixelSize[pixelFormat]</tt> if the image is unpadded,
629 * or <tt>#TJPAD(width * #tjPixelSize[pixelFormat])</tt> if each line of
633 * setting it to <tt>width * #tjPixelSize[pixelFormat]</tt>.
635 * @param pixelFormat pixel format of the source image (see @ref TJPF
650 unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat,
[all...]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objc/
H A DRTCNSGLVideoView.m64 pixelFormat:(NSOpenGLPixelFormat*)format {
65 if (self = [super initWithFrame:frame pixelFormat:format]) {
174 CGLPixelFormatObj cglPixelFormat = [[self pixelFormat] CGLPixelFormatObj];
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DVideoCaptureAndroid.java108 int pixelFormat =
111 pixelFormat = AndroidImageFormatList.ANDROID_IMAGEFORMAT_YV12;
136 pixelFormat));
/external/deqp/framework/opengl/
H A DgluFboRenderContext.cpp185 tcu::PixelFormat pixelFormat; local
205 pixelFormat = getPixelFormat(colorFormat);
258 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numSamples);
/external/deqp/modules/glshared/
H A DglsTextureTestUtil.hpp461 const tcu::PixelFormat& pixelFormat);
470 const tcu::PixelFormat& pixelFormat);
479 const tcu::PixelFormat& pixelFormat);
488 const tcu::PixelFormat& pixelFormat);
497 const tcu::PixelFormat& pixelFormat);
506 const tcu::PixelFormat& pixelFormat);
516 const tcu::PixelFormat& pixelFormat);
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/mac/
H A DAPPRTCViewController.m197 NSOpenGLPixelFormat* pixelFormat =
200 pixelFormat:pixelFormat];
/external/deqp/modules/gles2/functional/
H A Des2fColorClearTest.cpp105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local
217 if (pixelFormat.alphaBits == 0)
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des2fPrerequisiteTests.cpp177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); local
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
/external/deqp/modules/gles3/functional/
H A Des3fColorClearTest.cpp105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local
217 if (pixelFormat.alphaBits == 0)
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des3fTextureShadowTests.cpp103 const tcu::PixelFormat& pixelFormat)
108 const tcu::Vec3 nonShadowThreshold = tcu::computeFixedPointThreshold(getBitsVec(pixelFormat)-1).swizzle(1,2,3);
124 sampleTexture(SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams);
131 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams);
362 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
372 texComparePrecision.resultBits = pixelFormat.redBits-1;
375 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat);
386 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat);
652 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
662 texComparePrecision.resultBits = pixelFormat
96 verifyTexCompareResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const TextureType& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::TexComparePrecision& comparePrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
928 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
[all...]
/external/chromium_org/third_party/webrtc/test/mac/
H A Dvideo_renderer_mac.mm75 pixelFormat:nil] autorelease];

Completed in 418 milliseconds

12