/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 55 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 60 mColorFormat(colorFormat), 165 int colorFormat = OMX_COLOR_FormatYUV420Planar; local 185 colorFormat = translateColorToOmxEnumValue(atoi(optarg)); 186 if (colorFormat == -1) { 269 new DummySource(width, height, nFrames, frameRateFps, colorFormat); 290 enc_meta->setInt32(kKeyColorFormat, colorFormat);
|
H A D | record.cpp | 45 DummySource(int width, int height, int colorFormat) 48 mColorFormat(colorFormat), 54 CHECK(colorFormat == OMX_COLOR_FormatYUV420SemiPlanar || 55 colorFormat == OMX_COLOR_FormatYUV420Planar); 180 int colorFormat = translateColorToOmxEnumValue(atoi(argv[2])); 181 if (colorFormat == -1) { 210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat); 224 enc_meta->setInt32(kKeyColorFormat, colorFormat);
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 100 static int32_t getColorFormat(const char* colorFormat) { argument 101 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { 105 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { 109 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { 113 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { 117 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { 121 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { 125 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { 130 "CameraSource::getColorFormat", colorFormat);
|
H A D | OMXCodec.cpp | 743 OMX_COLOR_FORMATTYPE colorFormat) { 771 && format.eColorFormat == colorFormat) { 779 colorFormat, compressionFormat); 797 OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) { 798 switch (colorFormat) { 825 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat) { 829 *colorFormat = OMX_COLOR_FormatYUV420SemiPlanar; 832 *colorFormat = (OMX_COLOR_FORMATTYPE) targetColorFormat; 836 return isColorFormatSupported(*colorFormat, kPortIndexInput); 840 OMX_COLOR_FORMATTYPE colorFormat, in 740 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat) argument 796 getFrameSize( OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) argument 824 findTargetColorFormat( const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat) argument 839 isColorFormatSupported( OMX_COLOR_FORMATTYPE colorFormat, int portIndex) argument 904 OMX_COLOR_FORMATTYPE colorFormat; local 1324 int32_t colorFormat; local [all...] |
H A D | Utils.cpp | 113 int32_t colorFormat; local 114 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { 115 msg->setInt32("color-format", colorFormat); 498 int32_t colorFormat; local 499 if (msg->findInt32("color-format", &colorFormat)) { 500 meta->setInt32(kKeyColorFormat, colorFormat);
|
H A D | ACodec.cpp | 1473 int32_t colorFormat = OMX_COLOR_FormatUnused; local 1475 CHECK(outputFormat->findInt32("color-format", &colorFormat)); 1477 mComponentName.c_str(), requestedColorFormat, colorFormat); 1479 mOMX, mNode, colorFormat, haveNativeWindow, &flexibleEquivalent) 2151 OMX_COLOR_FORMATTYPE colorFormat, 2175 && colorFormat == flexibleEquivalent) { 2177 mComponentName.c_str(), format.eColorFormat, colorFormat); 2178 colorFormat = format.eColorFormat; 2186 && colorFormat == format.eColorFormat) { 2200 && format.eColorFormat == colorFormat) { 2148 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat, bool usingNativeBuffers) argument 2353 OMX_COLOR_FORMATTYPE colorFormat = local 2402 OMX_COLOR_FORMATTYPE colorFormat = local 3400 isFlexibleColorFormat( const sp<IOMX> &omx, IOMX::node_id node, uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | CpuVideoTrackDecoder.java | 237 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/include/media/stagefright/ |
H A D | OMXCodec.h | 258 OMX_COLOR_FORMATTYPE colorFormat); 269 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat); 272 OMX_COLOR_FORMATTYPE colorFormat, int portIndex);
|
H A D | ACodec.h | 81 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent); 254 OMX_COLOR_FORMATTYPE colorFormat,
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.h | 127 uint32_t colorFormat,
|
H A D | hwcTestLib.cpp | 687 // given by colorFormat, which might be different from the format of the 692 void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, argument 720 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { 721 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color);
|
/frameworks/wilhelm/src/ |
H A D | data.c | 555 switch (pDataFormat->mRawImage.colorFormat) { 599 pDataFormat->mRawImage.colorFormat);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1479 int32_t width, height, stride, sliceHeight, colorFormat; local 1484 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); 1490 format->setInt32("color-format", colorFormat);
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 433 XAuint32 colorFormat; member in struct:XADataFormat_RawImage_ 2826 XAuint32 colorFormat; member in struct:XAImageSettings_
|