Back to project page cameraMediaCodec.
The source code is released under:
Copyright (c) 2014, Zhang Ziyue All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * ...
If you think the Android project cameraMediaCodec listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android.testtool; /*ww w . ja v a 2 s . com*/ //For train, there should be a native SvcCaptureEngine class, responding to this Java class. Video CC will call native SvcCaptureEngine directly. //But I believe in the future, the Video CC will become Java code. So a nice designed Java SvcCaptureEngine will be there. public class SvcCaptureEngine { //Method: //1. set SVC encode param //2. request key frame //3. start SVC encode //4. stop SVC encode //5. get codec type //6. set camera device //7. start camera capture //8. stop camera capture //9. set camera surface }