/frameworks/av/cmds/stagefright/ |
D | recordvideo.cpp | 62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) in DummySource() argument 67 mColorFormat(colorFormat), in DummySource() 172 int colorFormat = OMX_COLOR_FormatYUV420Planar; in main() local 192 colorFormat = translateColorToOmxEnumValue(atoi(optarg)); in main() 193 if (colorFormat == -1) { in main() 273 new DummySource(width, height, nFrames, frameRateFps, colorFormat); in main() 294 enc_meta->setInt32("color-format", colorFormat); in main()
|
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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | CpuVideoTrackDecoder.java | 237 ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) { in convertImage() argument 238 switch (colorFormat) { in convertImage() 246 throw new RuntimeException("Unsupported color format: " + colorFormat + "!"); in convertImage()
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 131 static int32_t getColorFormat(const char* colorFormat) { in getColorFormat() argument 132 if (!colorFormat) { in getColorFormat() 137 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat() 141 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat() 145 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat() 149 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat() 153 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat() 157 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { in getColorFormat() 161 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat() 166 "CameraSource::getColorFormat", colorFormat); in getColorFormat()
|
D | Utils.cpp | 694 int32_t colorFormat; in convertMetaDataToMessage() local 695 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { in convertMetaDataToMessage() 696 msg->setInt32("color-format", colorFormat); in convertMetaDataToMessage() 1339 int32_t colorFormat; in convertMessageToMetaData() local 1340 if (msg->findInt32("color-format", &colorFormat)) { in convertMessageToMetaData() 1341 meta->setInt32(kKeyColorFormat, colorFormat); in convertMessageToMetaData()
|
D | ACodec.cpp | 2051 int32_t colorFormat = OMX_COLOR_FormatUnused; in configureCodec() local 2053 if (!outputFormat->findInt32("color-format", &colorFormat)) { in configureCodec() 2058 mComponentName.c_str(), requestedColorFormat, colorFormat); in configureCodec() 2060 mOMXNode, colorFormat, haveNativeWindow, &flexibleEquivalent) in configureCodec() 3075 OMX_COLOR_FORMATTYPE colorFormat, in setVideoPortFormatType() argument 3098 && colorFormat == flexibleEquivalent) { in setVideoPortFormatType() 3100 mComponentName.c_str(), format.eColorFormat, colorFormat); in setVideoPortFormatType() 3101 colorFormat = format.eColorFormat; in setVideoPortFormatType() 3109 && colorFormat == format.eColorFormat) { in setVideoPortFormatType() 3123 && format.eColorFormat == colorFormat) { in setVideoPortFormatType() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXUtils.h | 47 const sp<IOMXNode> &omxNode, uint32_t colorFormat,
|
D | OMXUtils.cpp | 339 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) { in IsFlexibleColorFormat() argument 342 describeParams.eColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat; in IsFlexibleColorFormat()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.h | 127 uint32_t colorFormat,
|
D | hwcTestLib.cpp | 689 void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, in hwcTestFillColorHBlend() argument 717 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { in hwcTestFillColorHBlend() 718 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color); in hwcTestFillColorHBlend()
|
/frameworks/wilhelm/src/ |
D | data.cpp | 521 switch (pDataFormat->mRawImage.colorFormat) { in checkDataFormat() 565 pDataFormat->mRawImage.colorFormat); in checkDataFormat()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 1653 int32_t width, height, stride, sliceHeight, colorFormat; in setupVideoEncoder() local 1658 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); in setupVideoEncoder() 1664 format->setInt32("color-format", colorFormat); in setupVideoEncoder()
|
/frameworks/av/media/libstagefright/include/ |
D | ACodec.h | 363 OMX_COLOR_FORMATTYPE colorFormat,
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 433 XAuint32 colorFormat; member 2826 XAuint32 colorFormat; member
|