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; //from www. ja v a2 s . c o m public class SvcEncodeSpacialParam implements Cloneable{ public int mWidth; public int mHeight; public int mFrameRate; public int mBitrate; //fix me, it is not general SVC encoder logic public int mStreamID; public int mModeIdx; public SvcEncodeSpacialParam clone() { SvcEncodeSpacialParam o = null; try { o = (SvcEncodeSpacialParam) super.clone(); } catch (CloneNotSupportedException e) { e.printStackTrace(); } return o; } public boolean isMeValid() { if (mWidth != 0 && mHeight != 0 && mFrameRate != 0&& mBitrate != 0) return true; else return false; } }