Home
last modified time | relevance | path

Searched refs:colorFormat (Results 1 – 16 of 16) 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.cpp652 OMX_COLOR_FORMATTYPE colorFormat) { in setVideoPortFormatType() argument
680 && format.eColorFormat == colorFormat) { in setVideoPortFormatType()
688 colorFormat, compressionFormat); in setVideoPortFormatType()
706 OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) { in getFrameSize() argument
707 switch (colorFormat) { in getFrameSize()
733 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat) { in findTargetColorFormat() argument
737 *colorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in findTargetColorFormat()
740 *colorFormat = (OMX_COLOR_FORMATTYPE) targetColorFormat; in findTargetColorFormat()
744 return isColorFormatSupported(*colorFormat, kPortIndexInput); in findTargetColorFormat()
748 OMX_COLOR_FORMATTYPE colorFormat, int portIndex) { in isColorFormatSupported() argument
[all …]
DACodec.cpp1398 OMX_COLOR_FORMATTYPE colorFormat) { in setVideoPortFormatType() argument
1421 && colorFormat == format.eColorFormat) { in setVideoPortFormatType()
1435 && format.eColorFormat == colorFormat) { in setVideoPortFormatType()
1559 OMX_COLOR_FORMATTYPE colorFormat = in setupVideoEncoder() local
1563 kPortIndexInput, OMX_VIDEO_CodingUnused, colorFormat); in setupVideoEncoder()
1567 mComponentName.c_str(), colorFormat); in setupVideoEncoder()
1625 video_def->eColorFormat = colorFormat; in setupVideoEncoder()
DMediaCodec.cpp732 int32_t colorFormat; in onMessageReceived() local
734 "color-format", &colorFormat)); in onMessageReceived()
739 meta->setInt32(kKeyColorFormat, colorFormat); in onMessageReceived()
/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.h218 OMX_COLOR_FORMATTYPE colorFormat);
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.h130 uint32_t colorFormat,
DhwcTestLib.cpp692 void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, in hwcTestFillColorHBlend() argument
720 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) { in hwcTestFillColorHBlend()
721 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.cpp1395 int32_t width, height, stride, sliceHeight, colorFormat; in setupVideoEncoder() local
1400 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); in setupVideoEncoder()
1407 enc_meta->setInt32(kKeyColorFormat, colorFormat); in setupVideoEncoder()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h433 XAuint32 colorFormat; member
2826 XAuint32 colorFormat; member