Searched refs:pes_flags (Results 1 – 2 of 2) sorted by relevance
128 pes_flags; in read_part_of_packet() local134 pes_flags = avio_rb16(pb); in read_part_of_packet()159 if (pes_flags & 0x80 && (pes_header_data[0] & 0xf0) == 0x20) { in read_part_of_packet()
642 int pes_flags; in flush_packet() local844 pes_flags = 0; in flush_packet()847 pes_flags |= 0x80; in flush_packet()849 pes_flags |= 0x40; in flush_packet()857 pes_flags |= 0x01; in flush_packet()859 avio_w8(ctx->pb, pes_flags); /* flags */ in flush_packet()862 if (pes_flags & 0x80) /* write pts */ in flush_packet()863 put_timestamp(ctx->pb, (pes_flags & 0x40) ? 0x03 : 0x02, pts); in flush_packet()864 if (pes_flags & 0x40) /* write dts */ in flush_packet()867 if (pes_flags & 0x01) { /* write pes extension */ in flush_packet()