Android Open Source - cameraMediaCodec Svc Encode Output Param






From Project

Back to project page cameraMediaCodec.

License

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.

Java Source Code

package com.android.testtool;
/*  ww  w .ja  v a2  s. co  m*/
public class SvcEncodeOutputParam implements Cloneable{
  public long     timestamp;
  public long     sampletimestamp;
  public int       marker;          //always true, as "last nal"
  public int      layernumber;
  public int      layerindex;
  public int      layerwidth;
  public int      layerheight;
  public int      frame_idc;
  public int      nal_ref_idc;
  public int      priority;
  public int       frametype;
  public int       spaicialid;
  public int      maxspacialid;
  public int      temporalid;
  public int      maxtemporalid;
  
  
  //fix me, it is not general SVC encoder logic
  public int      streamid;
  public int      modeindex;
  
  
  
  
  public SvcEncodeOutputParam clone() {  
    SvcEncodeOutputParam o = null;  
        try {  
            o = (SvcEncodeOutputParam) super.clone();  
        } catch (CloneNotSupportedException e) {  
            e.printStackTrace();  
        }  
        return o;  
    }  
  
  
  
  
}




Java Source Code List

com.android.testtool.AvcDecoderBug.java
com.android.testtool.AvcDecoder.java
com.android.testtool.AvcEncoder.java
com.android.testtool.AvcUtils.java
com.android.testtool.BitBufferLite.java
com.android.testtool.CameraInfoCollector.java
com.android.testtool.FpsHelper.java
com.android.testtool.HelloCameraActivity.java
com.android.testtool.RawUtils.java
com.android.testtool.SvcCaptureCallback.java
com.android.testtool.SvcCaptureEngine.java
com.android.testtool.SvcEncodeOutputParam.java
com.android.testtool.SvcEncodeSpacialParam.java
com.android.testtool.SvcEncoder.java
com.android.testtool.VideoBufferInfo.java