Home
last modified time | relevance | path

Searched refs:colorFormat (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/cmds/stagefright/
Drecordvideo.cpp62 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()
Drecord.cpp47 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/
DCpuVideoTrackDecoder.java237 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/
DCameraSource.cpp113 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()
DUtils.cpp656 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()
DACodec.cpp2062 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/
DhwcTestLib.h127 uint32_t colorFormat,
DhwcTestLib.cpp689 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/
DACodec.h99 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent);
356 OMX_COLOR_FORMATTYPE colorFormat,
/frameworks/wilhelm/src/
Ddata.c521 switch (pDataFormat->mRawImage.colorFormat) { in checkDataFormat()
565 pDataFormat->mRawImage.colorFormat); in checkDataFormat()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1521 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/
DOpenMAXAL.h433 XAuint32 colorFormat; member
2826 XAuint32 colorFormat; member