/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); 182 int colorFormat = translateColorToOmxEnumValue(atoi(argv[2])); 183 if (colorFormat == -1) { 208 sp<MediaSource> decoder = new DummySource(width, height, colorFormat); 222 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 | 113 static int32_t getColorFormat(const char* colorFormat) { in getColorFormat() argument 114 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat() 118 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat() 122 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat() 126 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat() 130 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat() 134 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { in getColorFormat() 138 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat() 143 "CameraSource::getColorFormat", colorFormat); in getColorFormat()
|
D | Utils.cpp | 656 int32_t colorFormat; in convertMetaDataToMessage() local 657 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { in convertMetaDataToMessage() 658 msg->setInt32("color-format", colorFormat); in convertMetaDataToMessage() 1292 int32_t colorFormat; in convertMessageToMetaData() local 1293 if (msg->findInt32("color-format", &colorFormat)) { in convertMessageToMetaData() 1294 meta->setInt32(kKeyColorFormat, colorFormat); in convertMessageToMetaData()
|
D | ACodec.cpp | 2062 int32_t colorFormat = OMX_COLOR_FormatUnused; in configureCodec() local 2064 if (!outputFormat->findInt32("color-format", &colorFormat)) { in configureCodec() 2069 mComponentName.c_str(), requestedColorFormat, colorFormat); in configureCodec() 2071 mOMX, mNode, colorFormat, haveNativeWindow, &flexibleEquivalent) in configureCodec() 2966 OMX_COLOR_FORMATTYPE colorFormat, in setVideoPortFormatType() argument 2989 && colorFormat == flexibleEquivalent) { in setVideoPortFormatType() 2991 mComponentName.c_str(), format.eColorFormat, colorFormat); in setVideoPortFormatType() 2992 colorFormat = format.eColorFormat; in setVideoPortFormatType() 3000 && colorFormat == format.eColorFormat) { in setVideoPortFormatType() 3014 && format.eColorFormat == colorFormat) { in setVideoPortFormatType() [all …]
|
/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/av/include/media/stagefright/ |
D | ACodec.h | 99 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent); 356 OMX_COLOR_FORMATTYPE colorFormat,
|
/frameworks/wilhelm/src/ |
D | data.c | 521 switch (pDataFormat->mRawImage.colorFormat) { in checkDataFormat() 565 pDataFormat->mRawImage.colorFormat); in checkDataFormat()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 1521 int32_t width, height, stride, sliceHeight, colorFormat; in setupVideoEncoder() local 1526 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); in setupVideoEncoder() 1532 format->setInt32("color-format", colorFormat); in setupVideoEncoder()
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 433 XAuint32 colorFormat; member 2826 XAuint32 colorFormat; member
|