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

/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp62 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 Drecord.cpp47 DummySource(int width, int height, int colorFormat)
50 mColorFormat(colorFormat),
56 CHECK(colorFormat == OMX_COLOR_FormatYUV420SemiPlanar ||
57 colorFormat == OMX_COLOR_FormatYUV420Planar);
180 int colorFormat = translateColorToOmxEnumValue(atoi(argv[2]));
181 if (colorFormat == -1) {
206 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
220 enc_meta->setInt32("color-format", colorFormat);
/frameworks/av/media/libstagefright/omx/
H A DOMXUtils.h47 const sp<IOMXNode> &omxNode, uint32_t colorFormat,
H A DOMXUtils.cpp339 uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) {
342 describeParams.eColorFormat = (OMX_COLOR_FORMATTYPE)colorFormat;
337 IsFlexibleColorFormat( const sp<IOMXNode> &omxNode, uint32_t colorFormat, bool usingNativeBuffers, OMX_U32 *flexibleEquivalent) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java237 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 DCameraSource.cpp131 static int32_t getColorFormat(const char* colorFormat) { argument
132 if (!colorFormat) {
137 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420P)) {
141 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422SP)) {
145 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV420SP)) {
149 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_YUV422I)) {
153 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_RGB565)) {
157 if (!strcmp(colorFormat, "OMX_TI_COLOR_FormatYUV420PackedSemiPlanar")) {
161 if (!strcmp(colorFormat, CameraParameters::PIXEL_FORMAT_ANDROID_OPAQUE)) {
166 "CameraSource::getColorFormat", colorFormat);
[all...]
H A DUtils.cpp694 int32_t colorFormat; local
695 if (meta->findInt32(kKeyColorFormat, &colorFormat)) {
696 msg->setInt32("color-format", colorFormat);
1339 int32_t colorFormat; local
1340 if (msg->findInt32("color-format", &colorFormat)) {
1341 meta->setInt32(kKeyColorFormat, colorFormat);
H A DACodec.cpp2051 int32_t colorFormat = OMX_COLOR_FormatUnused; local
2053 if (!outputFormat->findInt32("color-format", &colorFormat)) {
2058 mComponentName.c_str(), requestedColorFormat, colorFormat);
2060 mOMXNode, colorFormat, haveNativeWindow, &flexibleEquivalent)
3075 OMX_COLOR_FORMATTYPE colorFormat,
3098 && colorFormat == flexibleEquivalent) {
3100 mComponentName.c_str(), format.eColorFormat, colorFormat);
3101 colorFormat = format.eColorFormat;
3109 && colorFormat == format.eColorFormat) {
3123 && format.eColorFormat == colorFormat) {
3072 setVideoPortFormatType( OMX_U32 portIndex, OMX_VIDEO_CODINGTYPE compressionFormat, OMX_COLOR_FORMATTYPE colorFormat, bool usingNativeBuffers) argument
3315 OMX_COLOR_FORMATTYPE colorFormat = local
3718 OMX_COLOR_FORMATTYPE colorFormat = local
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h127 uint32_t colorFormat,
H A DhwcTestLib.cpp684 // 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/wilhelm/src/
H A Ddata.cpp521 switch (pDataFormat->mRawImage.colorFormat) {
565 pDataFormat->mRawImage.colorFormat);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1653 int32_t width, height, stride, sliceHeight, colorFormat; local
1658 CHECK(meta->findInt32(kKeyColorFormat, &colorFormat));
1664 format->setInt32("color-format", colorFormat);
/frameworks/av/include/media/stagefright/
H A DACodec.h363 OMX_COLOR_FORMATTYPE colorFormat,
/frameworks/av/media/libstagefright/foundation/include/
H A DACodec.h363 OMX_COLOR_FORMATTYPE colorFormat,
/frameworks/av/media/libstagefright/include/
H A DACodec.h363 OMX_COLOR_FORMATTYPE 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 3180 milliseconds