Home
last modified time | relevance | path

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

/frameworks/av/cmds/stagefright/
Drecordvideo.cpp54 DummySource(int width, int height, int nFrames, int fps, int colorFormat) in DummySource() argument
59 mColorFormat(colorFormat), in DummySource()
160 int colorFormat = OMX_COLOR_FormatYUV420Planar; in main() local
180 colorFormat = translateColorToOmxEnumValue(atoi(optarg)); in main()
181 if (colorFormat == -1) { in main()
264 new DummySource(width, height, nFrames, frameRateFps, colorFormat); in main()
285 enc_meta->setInt32(kKeyColorFormat, colorFormat); in main()
Drecord.cpp45 DummySource(int width, int height, int colorFormat)
48 mColorFormat(colorFormat),
54 CHECK(colorFormat == OMX_COLOR_FormatYUV420SemiPlanar ||
55 colorFormat == OMX_COLOR_FormatYUV420Planar);
180 int colorFormat = translateColorToOmxEnumValue(atoi(argv[2]));
181 if (colorFormat == -1) {
210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
224 enc_meta->setInt32(kKeyColorFormat, colorFormat);
/frameworks/av/media/libstagefright/
DCameraSource.cpp89 static int32_t getColorFormat(const char* colorFormat) { in getColorFormat() argument
90 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) { in getColorFormat()
94 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) { in getColorFormat()
98 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) { in getColorFormat()
102 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) { in getColorFormat()
106 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) { in getColorFormat()
110 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) { in getColorFormat()
114 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) { in getColorFormat()
119 "CameraSource::getColorFormat", colorFormat); in getColorFormat()
DOMXCodec.cpp647 OMX_COLOR_FORMATTYPE colorFormat) { in setVideoPortFormatType() argument
675 && format.eColorFormat == colorFormat) { in setVideoPortFormatType()
683 colorFormat, compressionFormat); in setVideoPortFormatType()
701 OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) { in getFrameSize() argument
702 switch (colorFormat) { in getFrameSize()
728 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat) { in findTargetColorFormat() argument
732 *colorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in findTargetColorFormat()
735 *colorFormat = (OMX_COLOR_FORMATTYPE) targetColorFormat; in findTargetColorFormat()
739 return isColorFormatSupported(*colorFormat, kPortIndexInput); in findTargetColorFormat()
743 OMX_COLOR_FORMATTYPE colorFormat, int portIndex) { in isColorFormatSupported() argument
[all …]
DMediaCodec.cpp749 int32_t colorFormat; in onMessageReceived() local
751 "color-format", &colorFormat)); in onMessageReceived()
756 meta->setInt32(kKeyColorFormat, colorFormat); in onMessageReceived()
DACodec.cpp1635 OMX_COLOR_FORMATTYPE colorFormat) { in setVideoPortFormatType() argument
1658 && colorFormat == format.eColorFormat) { in setVideoPortFormatType()
1672 && format.eColorFormat == colorFormat) { in setVideoPortFormatType()
1797 OMX_COLOR_FORMATTYPE colorFormat = in setupVideoEncoder() local
1801 kPortIndexInput, OMX_VIDEO_CodingUnused, colorFormat); in setupVideoEncoder()
1805 mComponentName.c_str(), colorFormat); in setupVideoEncoder()
1863 video_def->eColorFormat = colorFormat; in setupVideoEncoder()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DCpuVideoTrackDecoder.java230 ByteBuffer input, ByteBuffer output, int colorFormat, int width, int height) { in convertImage() argument
231 switch (colorFormat) { in convertImage()
239 throw new RuntimeException("Unsupported color format: " + colorFormat + "!"); in convertImage()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorPreviewController.h140 M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat,
146 M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth,
DVideoEditorPreviewController.cpp1378 M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth, in applyVideoEffect() argument
1427 M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth, in doImageRenderingMode() argument
/frameworks/av/include/media/stagefright/
DOMXCodec.h256 OMX_COLOR_FORMATTYPE colorFormat);
267 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat);
270 OMX_COLOR_FORMATTYPE colorFormat, int portIndex);
DACodec.h236 OMX_COLOR_FORMATTYPE colorFormat);
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.h128 uint32_t colorFormat,
DhwcTestLib.cpp688 void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, in hwcTestFillColorHBlend() argument
716 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { in hwcTestFillColorHBlend()
717 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color); in hwcTestFillColorHBlend()
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorVideoDecoder.cpp929 int32_t colorFormat = 0; in VideoEditorVideoDecoder_create() local
1043 kKeyColorFormat, &colorFormat); in VideoEditorVideoDecoder_create()
1045 pDecShellContext->decOuputColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat; in VideoEditorVideoDecoder_create()
1097 int32_t colorFormat = 0; in VideoEditorVideoSoftwareDecoder_create() local
1211 kKeyColorFormat, &colorFormat); in VideoEditorVideoSoftwareDecoder_create()
1213 pDecShellContext->decOuputColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat; in VideoEditorVideoSoftwareDecoder_create()
/frameworks/wilhelm/src/
Ddata.c504 switch (pDataFormat->mRawImage.colorFormat) { in checkDataFormat()
548 pDataFormat->mRawImage.colorFormat); in checkDataFormat()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1414 int32_t width, height, stride, sliceHeight, colorFormat; in setupVideoEncoder() local
1419 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); in setupVideoEncoder()
1426 enc_meta->setInt32(kKeyColorFormat, colorFormat); in setupVideoEncoder()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h433 XAuint32 colorFormat; member
2826 XAuint32 colorFormat; member