Searched defs:colorFormat (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java237 ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) {
238 switch (colorFormat) {
246 throw new RuntimeException("Unsupported color format: " + colorFormat + "!");
236 convertImage( ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) argument
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
67 mColorFormat(colorFormat),
172 int colorFormat = OMX_COLOR_FormatYUV420Planar; local
192 colorFormat = translateColorToOmxEnumValue(atoi(optarg));
193 if (colorFormat == -1) {
273 new DummySource(width, height, nFrames, frameRateFps, colorFormat);
294 enc_meta->setInt32("color-format", colorFormat);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp113 static int32_t getColorFormat(const char* colorFormat) { argument
114 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) {
118 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) {
122 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) {
126 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) {
130 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) {
134 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) {
138 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) {
143 "CameraSource::getColorFormat", colorFormat);
H A DUtils.cpp656 int32_t colorFormat; local
657 if (meta->findInt32(kKeyColorFormat, &colorFormat)) {
658 msg->setInt32("color-format", colorFormat);
1292 int32_t colorFormat; local
1293 if (msg->findInt32("color-format", &colorFormat)) {
1294 meta->setInt32(kKeyColorFormat, colorFormat);
H A DACodec.cpp2062 int32_t colorFormat = OMX_COLOR_FormatUnused; local
2064 if (!outputFormat->findInt32("color-format", &colorFormat)) {
2069 mComponentName.c_str(), requestedColorFormat, colorFormat);
2071 mOMX, mNode, colorFormat, haveNativeWindow, &flexibleEquivalent)
2966 OMX_COLOR_FORMATTYPE colorFormat,
2989 && colorFormat == flexibleEquivalent) {
2991 mComponentName.c_str(), format.eColorFormat, colorFormat);
2992 colorFormat = format.eColorFormat;
3000 && colorFormat == format.eColorFormat) {
3014 && format.eColorFormat == colorFormat) {
2963 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat, bool usingNativeBuffers) argument
3188 OMX_COLOR_FORMATTYPE colorFormat = local
3573 OMX_COLOR_FORMATTYPE colorFormat = local
4641 isFlexibleColorFormat( const sp<IOMX> &omx, IOMX::node_id node, uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp684 // given by colorFormat, which might be different from the format of the
689 void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, argument
717 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) {
718 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1521 int32_t width, height, stride, sliceHeight, colorFormat; local
1526 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat));
1532 format->setInt32("color-format", colorFormat);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h433 XAuint32 colorFormat; member in struct:XADataFormat_RawImage_
2826 XAuint32 colorFormat; member in struct:XAImageSettings_

Completed in 80 milliseconds