Searched refs:colorFormat (Results 1 - 16 of 16) sorted by relevance

/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp54 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
59 mColorFormat(colorFormat),
160 int colorFormat = OMX_COLOR_FormatYUV420Planar; local
180 colorFormat = translateColorToOmxEnumValue(atoi(optarg));
181 if (colorFormat == -1) {
264 new DummySource(width, height, nFrames, frameRateFps, colorFormat);
285 enc_meta->setInt32(kKeyColorFormat, colorFormat);
H A 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/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.h140 M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat,
146 M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth,
H A DVideoEditorPreviewController.cpp1378 M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth,
1427 M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth,
1377 applyVideoEffect( M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth, M4OSA_UInt32 videoHeight, M4OSA_UInt32 timeMs, M4OSA_Void* outPtr) argument
1426 doImageRenderingMode( M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth, M4OSA_UInt32 videoHeight, M4OSA_Void* outPtr) argument
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp89 static int32_t getColorFormat(const char* colorFormat) { argument
90 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) {
94 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) {
98 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) {
102 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) {
106 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) {
110 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) {
114 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) {
119 "CameraSource::getColorFormat", colorFormat);
H A DOMXCodec.cpp652 OMX_COLOR_FORMATTYPE colorFormat) {
680 && format.eColorFormat == colorFormat) {
688 colorFormat, compressionFormat);
706 OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) {
707 switch (colorFormat) {
733 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat) {
737 *colorFormat = OMX_COLOR_FormatYUV420SemiPlanar;
740 *colorFormat = (OMX_COLOR_FORMATTYPE) targetColorFormat;
744 return isColorFormatSupported(*colorFormat, kPortIndexInput);
748 OMX_COLOR_FORMATTYPE colorFormat, in
649 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat) argument
705 getFrameSize( OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) argument
732 findTargetColorFormat( const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat) argument
747 isColorFormatSupported( OMX_COLOR_FORMATTYPE colorFormat, int portIndex) argument
810 OMX_COLOR_FORMATTYPE colorFormat; local
1227 int32_t colorFormat; local
[all...]
H A DACodec.cpp1398 OMX_COLOR_FORMATTYPE colorFormat) {
1421 && colorFormat == format.eColorFormat) {
1435 && format.eColorFormat == colorFormat) {
1559 OMX_COLOR_FORMATTYPE colorFormat = local
1563 kPortIndexInput, OMX_VIDEO_CodingUnused, colorFormat);
1567 mComponentName.c_str(), colorFormat);
1625 video_def->eColorFormat = colorFormat;
1395 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat) argument
H A DMediaCodec.cpp732 int32_t colorFormat; local
734 "color-format", &colorFormat));
739 meta->setInt32(kKeyColorFormat, colorFormat);
/frameworks/av/include/media/stagefright/
H A DOMXCodec.h256 OMX_COLOR_FORMATTYPE colorFormat);
267 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat);
270 OMX_COLOR_FORMATTYPE colorFormat, int portIndex);
H A DACodec.h218 OMX_COLOR_FORMATTYPE colorFormat);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h130 uint32_t colorFormat,
H A DhwcTestLib.cpp687 // given by colorFormat, which might be different from the format of the
692 void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, argument
720 if (colorFormat != (uint32_t) gBuf->getPixelFormat()) {
721 hwcTestColorConvert(colorFormat, gBuf->getPixelFormat(), color);
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoDecoder.cpp929 int32_t colorFormat = 0; local
1043 kKeyColorFormat, &colorFormat);
1045 pDecShellContext->decOuputColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat;
1097 int32_t colorFormat = 0; local
1211 kKeyColorFormat, &colorFormat);
1213 pDecShellContext->decOuputColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat;
/frameworks/wilhelm/src/
H A Ddata.c504 switch (pDataFormat->mRawImage.colorFormat) {
548 pDataFormat->mRawImage.colorFormat);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1395 int32_t width, height, stride, sliceHeight, colorFormat; local
1400 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat));
1407 enc_meta->setInt32(kKeyColorFormat, colorFormat);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h433 XAuint32 colorFormat; member in struct:XADataFormat_RawImage_
2826 XAuint32 colorFormat; member in struct:XAImageSettings_

Completed in 489 milliseconds