2 * jTsSplitter - java based mpeg2ts splitter.
3 * Copyright (C) 2009-2010 Yukikaze
6 package jtssplitter.data.descriptor;
8 import jtssplitter.data.descriptor.abstract_Descriptor;
13 public class ARIB_Video_Compornent_Descriptor extends jtssplitter.data.descriptor.abstract_Descriptor{
14 private int Descriptor;
15 private boolean still_picture_flag;
16 private boolean sequence_end_code_flag;
17 private int video_encode_format;
20 * @return the still_picture_flag
22 public boolean isStill_picture_flag() {
23 return still_picture_flag;
27 * 動画フォーマットが直後から変更されるかどうか
28 * @return the sequence_end_code_flag
30 public boolean isSequence_end_code_flag() {
31 return sequence_end_code_flag;
36 * @return the video_encode_format
46 public int getVideo_encode_format() {
47 return video_encode_format;
51 public void analyzeDescriptor(int DescriptorTag, byte[] descriptor) {
52 Descriptor=DescriptorTag;
53 still_picture_flag=((descriptor[0]&0x80)>>7==1);
54 sequence_end_code_flag=((descriptor[0]&0x40)>>6==1);
55 video_encode_format=(descriptor[0]&0x3C)>>2;
59 public int getDescriptorTag() {
64 public void analyzeDescriptor(byte[] descriptor) {
65 Descriptor=descriptor[0]&0xFF;
66 still_picture_flag=((descriptor[2]&0x80)>>7==1);
67 sequence_end_code_flag=((descriptor[2]&0x40)>>6==1);
68 video_encode_format=(descriptor[2]&0x3C)>>2;