/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); 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/ |
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 | 113 static int32_t getColorFormat(const char* colorFormat) { argument 114 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { 118 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { 122 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { 126 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { 130 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { 134 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { 138 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { 143 "CameraSource::getColorFormat", colorFormat);
|
H A D | Utils.cpp | 656 int32_t colorFormat; local 657 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { 658 msg->setInt32("color-format", colorFormat); 1292 int32_t colorFormat; local 1293 if (msg->findInt32("color-format", &colorFormat)) { 1294 meta->setInt32(kKeyColorFormat, colorFormat);
|
H A D | ACodec.cpp | 2062 int32_t colorFormat = OMX_COLOR_FormatUnused; local 2064 if (!outputFormat->findInt32("color-format", &colorFormat)) { 2069 mComponentName.c_str(), requestedColorFormat, colorFormat); 2071 mOMX, mNode, colorFormat, haveNativeWindow, &flexibleEquivalent) 2966 OMX_COLOR_FORMATTYPE colorFormat, 2989 && colorFormat == flexibleEquivalent) { 2991 mComponentName.c_str(), format.eColorFormat, colorFormat); 2992 colorFormat = format.eColorFormat; 3000 && colorFormat == format.eColorFormat) { 3014 && format.eColorFormat == colorFormat) { 2963 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat, bool usingNativeBuffers) argument 3188 OMX_COLOR_FORMATTYPE colorFormat = local 3573 OMX_COLOR_FORMATTYPE colorFormat = local 4641 isFlexibleColorFormat( const sp<IOMX> &omx, IOMX::node_id node, uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) argument [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/av/include/media/stagefright/ |
H A D | ACodec.h | 99 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent); 356 OMX_COLOR_FORMATTYPE colorFormat,
|
/frameworks/wilhelm/src/ |
H A D | data.c | 521 switch (pDataFormat->mRawImage.colorFormat) { 565 pDataFormat->mRawImage.colorFormat);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1521 int32_t width, height, stride, sliceHeight, colorFormat; local 1526 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); 1532 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_
|