示例#1
0
 public void addPps(List<ByteBuffer> ppsList) {
   for (ByteBuffer byteBuffer : ppsList) {
     ByteBuffer dup = byteBuffer.duplicate();
     unescapeNAL(dup);
     PictureParameterSet p = PictureParameterSet.read(dup);
     pps.put(p.pic_parameter_set_id, p);
   }
 }
示例#2
0
 public void addSps(List<ByteBuffer> spsList) {
   for (ByteBuffer byteBuffer : spsList) {
     ByteBuffer dup = byteBuffer.duplicate();
     unescapeNAL(dup);
     SeqParameterSet s = SeqParameterSet.read(dup);
     sps.put(s.seq_parameter_set_id, s);
   }
 }