/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 62 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);
|
H A D | record.cpp | 47 DummySource(int width, int height, int colorFormat) 50 mColorFormat(colorFormat), 56 CHECK(colorFormat == OMX_COLOR_FormatYUV420SemiPlanar || 57 colorFormat == OMX_COLOR_FormatYUV420Planar); 180 int colorFormat = translateColorToOmxEnumValue(atoi(argv[2])); 181 if (colorFormat == -1) { 206 sp<MediaSource> decoder = new DummySource(width, height, colorFormat); 220 enc_meta->setInt32("color-format", colorFormat);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.h | 47 const sp<IOMXNode> &omxNode, uint32_t colorFormat,
|
H A D | OMXUtils.cpp | 339 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) { 342 describeParams.eColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat; 337 IsFlexibleColorFormat( const sp<IOMXNode> &omxNode, uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) argument
|
/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/media/libstagefright/ |
H A D | CameraSource.cpp | 131 static int32_t getColorFormat(const char* colorFormat) { argument 132 if (!colorFormat) { 137 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { 141 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { 145 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { 149 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { 153 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { 157 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { 161 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { 166 "CameraSource::getColorFormat", colorFormat); [all...] |
H A D | Utils.cpp | 694 int32_t colorFormat; local 695 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { 696 msg->setInt32("color-format", colorFormat); 1339 int32_t colorFormat; local 1340 if (msg->findInt32("color-format", &colorFormat)) { 1341 meta->setInt32(kKeyColorFormat, colorFormat);
|
H A D | ACodec.cpp | 2051 int32_t colorFormat = OMX_COLOR_FormatUnused; local 2053 if (!outputFormat->findInt32("color-format", &colorFormat)) { 2058 mComponentName.c_str(), requestedColorFormat, colorFormat); 2060 mOMXNode, colorFormat, haveNativeWindow, &flexibleEquivalent) 3075 OMX_COLOR_FORMATTYPE colorFormat, 3098 && colorFormat == flexibleEquivalent) { 3100 mComponentName.c_str(), format.eColorFormat, colorFormat); 3101 colorFormat = format.eColorFormat; 3109 && colorFormat == format.eColorFormat) { 3123 && format.eColorFormat == colorFormat) { 3072 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat, bool usingNativeBuffers) argument 3315 OMX_COLOR_FORMATTYPE colorFormat = local 3718 OMX_COLOR_FORMATTYPE colorFormat = local [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.h | 127 uint32_t colorFormat,
|
H A D | hwcTestLib.cpp | 684 // 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/wilhelm/src/ |
H A D | data.cpp | 521 switch (pDataFormat->mRawImage.colorFormat) { 565 pDataFormat->mRawImage.colorFormat);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1653 int32_t width, height, stride, sliceHeight, colorFormat; local 1658 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); 1664 format->setInt32("color-format", colorFormat);
|
/frameworks/av/include/media/stagefright/ |
H A D | ACodec.h | 363 OMX_COLOR_FORMATTYPE colorFormat,
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | ACodec.h | 363 OMX_COLOR_FORMATTYPE colorFormat,
|
/frameworks/av/media/libstagefright/include/ |
H A D | ACodec.h | 363 OMX_COLOR_FORMATTYPE 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_
|