GF_CENCSampleEncryptionGroupEntry 9483 src/isomedia/box_code_base.c GF_CENCSampleEncryptionGroupEntry *ptr; GF_CENCSampleEncryptionGroupEntry 9484 src/isomedia/box_code_base.c GF_SAFEALLOC(ptr, GF_CENCSampleEncryptionGroupEntry); GF_CENCSampleEncryptionGroupEntry 9624 src/isomedia/box_code_base.c gf_bs_write_int(bs, ((GF_CENCSampleEncryptionGroupEntry*)entry)->crypt_byte_block, 4); GF_CENCSampleEncryptionGroupEntry 9625 src/isomedia/box_code_base.c gf_bs_write_int(bs, ((GF_CENCSampleEncryptionGroupEntry*)entry)->skip_byte_block, 4); GF_CENCSampleEncryptionGroupEntry 9626 src/isomedia/box_code_base.c gf_bs_write_u8(bs, ((GF_CENCSampleEncryptionGroupEntry *)entry)->IsProtected); GF_CENCSampleEncryptionGroupEntry 9627 src/isomedia/box_code_base.c gf_bs_write_u8(bs, ((GF_CENCSampleEncryptionGroupEntry *)entry)->Per_Sample_IV_size); GF_CENCSampleEncryptionGroupEntry 9628 src/isomedia/box_code_base.c gf_bs_write_data(bs, (char *)((GF_CENCSampleEncryptionGroupEntry *)entry)->KID, 16); GF_CENCSampleEncryptionGroupEntry 9629 src/isomedia/box_code_base.c if ((((GF_CENCSampleEncryptionGroupEntry *)entry)->IsProtected == 1) && !((GF_CENCSampleEncryptionGroupEntry *)entry)->Per_Sample_IV_size) { GF_CENCSampleEncryptionGroupEntry 9630 src/isomedia/box_code_base.c gf_bs_write_u8(bs, ((GF_CENCSampleEncryptionGroupEntry *)entry)->constant_IV_size); GF_CENCSampleEncryptionGroupEntry 9631 src/isomedia/box_code_base.c gf_bs_write_data(bs, (char *)((GF_CENCSampleEncryptionGroupEntry *)entry)->constant_IV, ((GF_CENCSampleEncryptionGroupEntry *)entry)->constant_IV_size); GF_CENCSampleEncryptionGroupEntry 9660 src/isomedia/box_code_base.c return ((((GF_CENCSampleEncryptionGroupEntry *)entry)->IsProtected == 1) && !((GF_CENCSampleEncryptionGroupEntry *)entry)->Per_Sample_IV_size) ? 21 + ((GF_CENCSampleEncryptionGroupEntry *)entry)->constant_IV_size : 20; GF_CENCSampleEncryptionGroupEntry 4321 src/isomedia/box_dump.c fprintf(trace, "<CENCSampleEncryptionGroupEntry IsEncrypted=\"%d\" IV_size=\"%d\" KID=\"", ((GF_CENCSampleEncryptionGroupEntry*)entry)->IsProtected, ((GF_CENCSampleEncryptionGroupEntry*)entry)->Per_Sample_IV_size); GF_CENCSampleEncryptionGroupEntry 4322 src/isomedia/box_dump.c dump_data_hex(trace, (char *)((GF_CENCSampleEncryptionGroupEntry*)entry)->KID, 16); GF_CENCSampleEncryptionGroupEntry 4323 src/isomedia/box_dump.c if ((((GF_CENCSampleEncryptionGroupEntry*)entry)->IsProtected == 1) && !((GF_CENCSampleEncryptionGroupEntry*)entry)->Per_Sample_IV_size) { GF_CENCSampleEncryptionGroupEntry 4324 src/isomedia/box_dump.c fprintf(trace, "\" constant_IV_size=\"%d\" constant_IV=\"", ((GF_CENCSampleEncryptionGroupEntry*)entry)->constant_IV_size); GF_CENCSampleEncryptionGroupEntry 4325 src/isomedia/box_dump.c dump_data_hex(trace, (char *)((GF_CENCSampleEncryptionGroupEntry*)entry)->constant_IV, ((GF_CENCSampleEncryptionGroupEntry*)entry)->constant_IV_size); GF_CENCSampleEncryptionGroupEntry 3927 src/isomedia/isom_read.c GF_CENCSampleEncryptionGroupEntry *entry; GF_CENCSampleEncryptionGroupEntry 4026 src/isomedia/isom_read.c entry = (GF_CENCSampleEncryptionGroupEntry *) gf_list_get(sgdesc->group_descriptions, group_desc_index - 1); GF_CENCSampleEncryptionGroupEntry 5024 src/isomedia/isom_write.c GF_CENCSampleEncryptionGroupEntry *entry; GF_CENCSampleEncryptionGroupEntry 5026 src/isomedia/isom_write.c GF_SAFEALLOC(entry, GF_CENCSampleEncryptionGroupEntry); GF_CENCSampleEncryptionGroupEntry 5028 src/isomedia/isom_write.c bs = gf_bs_new((char *) udta, sizeof(GF_CENCSampleEncryptionGroupEntry), GF_BITSTREAM_READ); GF_CENCSampleEncryptionGroupEntry 5053 src/isomedia/isom_write.c GF_CENCSampleEncryptionGroupEntry *seig = (GF_CENCSampleEncryptionGroupEntry *)entry; GF_CENCSampleEncryptionGroupEntry 5055 src/isomedia/isom_write.c bs = gf_bs_new((char *) udta, sizeof(GF_CENCSampleEncryptionGroupEntry), GF_BITSTREAM_READ); GF_CENCSampleEncryptionGroupEntry 5127 src/isomedia/isom_write.c gf_bs_write_int(bs, ((GF_CENCSampleEncryptionGroupEntry *)entry)->crypt_byte_block, 4); GF_CENCSampleEncryptionGroupEntry 5128 src/isomedia/isom_write.c gf_bs_write_int(bs, ((GF_CENCSampleEncryptionGroupEntry *)entry)->skip_byte_block, 4); GF_CENCSampleEncryptionGroupEntry 5129 src/isomedia/isom_write.c gf_bs_write_u8(bs, ((GF_CENCSampleEncryptionGroupEntry *)entry)->IsProtected); GF_CENCSampleEncryptionGroupEntry 5130 src/isomedia/isom_write.c gf_bs_write_u8(bs, ((GF_CENCSampleEncryptionGroupEntry *)entry)->Per_Sample_IV_size); GF_CENCSampleEncryptionGroupEntry 5131 src/isomedia/isom_write.c gf_bs_write_data(bs, (char *) ((GF_CENCSampleEncryptionGroupEntry *)entry)->KID, 16); GF_CENCSampleEncryptionGroupEntry 5132 src/isomedia/isom_write.c if ((((GF_CENCSampleEncryptionGroupEntry *)entry)->IsProtected == 1) && !((GF_CENCSampleEncryptionGroupEntry *)entry)->Per_Sample_IV_size) { GF_CENCSampleEncryptionGroupEntry 5133 src/isomedia/isom_write.c gf_bs_write_u8(bs, ((GF_CENCSampleEncryptionGroupEntry *)entry)->constant_IV_size); GF_CENCSampleEncryptionGroupEntry 5134 src/isomedia/isom_write.c gf_bs_write_data(bs,(char *) ((GF_CENCSampleEncryptionGroupEntry *)entry)->constant_IV, ((GF_CENCSampleEncryptionGroupEntry *)entry)->constant_IV_size);