Skip to content

Add camera support for linux (V4L2) - #12580

Merged
hrydgard merged 1 commit into
hrydgard:masterfrom
Florin9doi:v4l2b
Jan 16, 2020
Merged

hrydgard merged 1 commit into
hrydgard:masterfrom
Florin9doi:v4l2b

Conversation

@Florin9doi

Copy link
Copy Markdown
Contributor

No description provided.

@Florin9doi
Florin9doi force-pushed the v4l2b branch 2 times, most recently from f276b3c to 6aa063b Compare January 15, 2020 22:15
Comment thread Core/HLE/sceKernel.cpp Outdated
Comment thread Core/HLE/sceUsbCam.cpp Outdated
Comment thread Core/HW/Camera.h Outdated
// Only keep the screen bright ingame.
window.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
}
} else if (command.equals("event")) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is called from __UsbCamShutdown now

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No not this Android mCameraHelper, as far as I can tell skimming the code...

@hrydgard

Copy link
Copy Markdown
Owner

I'm fine with this now, except still unsure about that Android camerahelper thingy..

@Florin9doi

Copy link
Copy Markdown
Contributor Author

event#exitgame was used to deallocate camera resources when a game is closed.
In this patch, the same thing is done by:
__UsbCamShutdown>>Camera::stopCapture>>System_SendMessage("stopVideo")

@hrydgard

Copy link
Copy Markdown
Owner

I see! Sorry I missed that.

@hrydgard
hrydgard merged commit 7db5471 into hrydgard:master Jan 16, 2020
@Florin9doi
Florin9doi deleted the v4l2b branch January 17, 2020 04:01
@unknownbrackets unknownbrackets added this to the v1.10.0 milestone Mar 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants