/dports/multimedia/Bento4/Bento4-1.6.0-639/Source/C++/Core/ |
H A D | Ap4Marlin.cpp | 269 AP4_IpmpDescriptor* ipmpd = NULL; in Parse() local 274 ipmpd = AP4_DYNAMIC_CAST(AP4_IpmpDescriptor, ipmpd_item->GetData()); in Parse() 275 if (ipmpd == NULL || ipmpd->GetIpmpsType() != AP4_MARLIN_IPMPS_TYPE_MGSV) continue; in Parse() 278 if (ipmpd->GetDescriptorId() == ipmpd_pointer->GetDescriptorId()) { in Parse() 281 ipmpd = NULL; // no match in Parse() 284 if (ipmpd == NULL) continue; // no matching entry in Parse() 288 AP4_MemoryByteStream* data = new AP4_MemoryByteStream(ipmpd->GetData().GetData(), in Parse() 289 ipmpd->GetData().GetDataSize()); in Parse() 290 AP4_LargeSize bytes_available = ipmpd->GetData().GetDataSize(); in Parse()
|
/dports/multimedia/kodi-addon-inputstream.adaptive/inputstream.adaptive-19.0.1-Matrix/lib/libbento4/Core/ |
H A D | Ap4Marlin.cpp | 269 AP4_IpmpDescriptor* ipmpd = NULL; in Parse() local 274 ipmpd = AP4_DYNAMIC_CAST(AP4_IpmpDescriptor, ipmpd_item->GetData()); in Parse() 275 if (ipmpd == NULL || ipmpd->GetIpmpsType() != AP4_MARLIN_IPMPS_TYPE_MGSV) continue; in Parse() 278 if (ipmpd->GetDescriptorId() == ipmpd_pointer->GetDescriptorId()) { in Parse() 281 ipmpd = NULL; // no match in Parse() 284 if (ipmpd == NULL) continue; // no matching entry in Parse() 288 AP4_MemoryByteStream* data = new AP4_MemoryByteStream(ipmpd->GetData().GetData(), in Parse() 289 ipmpd->GetData().GetDataSize()); in Parse() 290 AP4_LargeSize bytes_available = ipmpd->GetData().GetDataSize(); in Parse()
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/odf/ |
H A D | odf_code.c | 2557 GF_Err gf_odf_del_ipmp_ptr(GF_IPMPPtr *ipmpd) in gf_odf_del_ipmp_ptr() argument 2559 if (!ipmpd) return GF_BAD_PARAM; in gf_odf_del_ipmp_ptr() 2560 gf_free(ipmpd); in gf_odf_del_ipmp_ptr() 2567 if (! ipmpd) return GF_BAD_PARAM; in gf_odf_read_ipmp_ptr() 2568 ipmpd->IPMP_DescriptorID = gf_bs_read_int(bs, 8); in gf_odf_read_ipmp_ptr() 2570 if (ipmpd->IPMP_DescriptorID == 0xFF) { in gf_odf_read_ipmp_ptr() 2572 ipmpd->IPMP_ES_ID = gf_bs_read_int(bs, 16); in gf_odf_read_ipmp_ptr() 2580 if (! ipmpd) return GF_BAD_PARAM; in gf_odf_size_ipmp_ptr() 2589 if (! ipmpd) return GF_BAD_PARAM; in gf_odf_write_ipmp_ptr() 2596 if (ipmpd->IPMP_DescriptorID == 0xFF) { in gf_odf_write_ipmp_ptr() [all …]
|
H A D | odf_parse.c | 608 GF_IPMPPtr *ipmpd = (GF_IPMPPtr*)desc; in gf_odf_set_field() local 609 if (!stricmp(fieldName, "IPMP_DescriptorID")) GET_U8(ipmpd->IPMP_DescriptorID) in gf_odf_set_field() 610 …else if (!stricmp(fieldName, "IPMP_DescriptorIDEx")) ret += sscanf(val, "%hu", &ipmpd->IPMP_Descr… in gf_odf_set_field() 611 else if (!stricmp(fieldName, "IPMP_ES_ID")) ret += sscanf(val, "%hu", &ipmpd->IPMP_ES_ID); in gf_odf_set_field()
|
H A D | odf_dump.c | 1255 GF_Err gf_odf_dump_ipmp_ptr(GF_IPMPPtr *ipmpd, FILE *trace, u32 indent, Bool XMTDump) in gf_odf_dump_ipmp_ptr() argument 1259 if (ipmpd->IPMP_DescriptorID == 0xFF) { in gf_odf_dump_ipmp_ptr() 1261 DumpInt(trace, "IPMP_DescriptorIDEx", ipmpd->IPMP_DescriptorIDEx, indent, XMTDump); in gf_odf_dump_ipmp_ptr() 1262 DumpInt(trace, "IPMP_ES_ID", ipmpd->IPMP_ES_ID, indent, XMTDump); in gf_odf_dump_ipmp_ptr() 1264 DumpInt(trace, "IPMP_DescriptorID", ipmpd->IPMP_DescriptorID, indent, XMTDump); in gf_odf_dump_ipmp_ptr()
|
/dports/multimedia/ccextractor/ccextractor-0.85/src/gpacmp4/ |
H A D | odf_code.c | 2531 GF_Err gf_odf_del_ipmp_ptr(GF_IPMPPtr *ipmpd) in gf_odf_del_ipmp_ptr() argument 2533 if (!ipmpd) return GF_BAD_PARAM; in gf_odf_del_ipmp_ptr() 2534 gf_free(ipmpd); in gf_odf_del_ipmp_ptr() 2541 if (!ipmpd) return GF_BAD_PARAM; in gf_odf_read_ipmp_ptr() 2542 ipmpd->IPMP_DescriptorID = gf_bs_read_int(bs, 8); in gf_odf_read_ipmp_ptr() 2544 if (ipmpd->IPMP_DescriptorID == 0xFF) { in gf_odf_read_ipmp_ptr() 2546 ipmpd->IPMP_ES_ID = gf_bs_read_int(bs, 16); in gf_odf_read_ipmp_ptr() 2554 if (!ipmpd) return GF_BAD_PARAM; in gf_odf_size_ipmp_ptr() 2563 if (!ipmpd) return GF_BAD_PARAM; in gf_odf_write_ipmp_ptr() 2570 if (ipmpd->IPMP_DescriptorID == 0xFF) { in gf_odf_write_ipmp_ptr() [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/odf/ |
H A D | odf_code.c | 2557 GF_Err gf_odf_del_ipmp_ptr(GF_IPMPPtr *ipmpd) in gf_odf_del_ipmp_ptr() argument 2559 if (!ipmpd) return GF_BAD_PARAM; in gf_odf_del_ipmp_ptr() 2560 gf_free(ipmpd); in gf_odf_del_ipmp_ptr() 2567 if (! ipmpd) return GF_BAD_PARAM; in gf_odf_read_ipmp_ptr() 2568 ipmpd->IPMP_DescriptorID = gf_bs_read_int(bs, 8); in gf_odf_read_ipmp_ptr() 2570 if (ipmpd->IPMP_DescriptorID == 0xFF) { in gf_odf_read_ipmp_ptr() 2572 ipmpd->IPMP_ES_ID = gf_bs_read_int(bs, 16); in gf_odf_read_ipmp_ptr() 2580 if (! ipmpd) return GF_BAD_PARAM; in gf_odf_size_ipmp_ptr() 2589 if (! ipmpd) return GF_BAD_PARAM; in gf_odf_write_ipmp_ptr() 2596 if (ipmpd->IPMP_DescriptorID == 0xFF) { in gf_odf_write_ipmp_ptr() [all …]
|
H A D | odf_parse.c | 608 GF_IPMPPtr *ipmpd = (GF_IPMPPtr*)desc; in gf_odf_set_field() local 609 if (!stricmp(fieldName, "IPMP_DescriptorID")) GET_U8(ipmpd->IPMP_DescriptorID) in gf_odf_set_field() 610 …else if (!stricmp(fieldName, "IPMP_DescriptorIDEx")) ret += sscanf(val, "%hu", &ipmpd->IPMP_Descr… in gf_odf_set_field() 611 else if (!stricmp(fieldName, "IPMP_ES_ID")) ret += sscanf(val, "%hu", &ipmpd->IPMP_ES_ID); in gf_odf_set_field()
|
H A D | odf_dump.c | 1255 GF_Err gf_odf_dump_ipmp_ptr(GF_IPMPPtr *ipmpd, FILE *trace, u32 indent, Bool XMTDump) in gf_odf_dump_ipmp_ptr() argument 1259 if (ipmpd->IPMP_DescriptorID == 0xFF) { in gf_odf_dump_ipmp_ptr() 1261 DumpInt(trace, "IPMP_DescriptorIDEx", ipmpd->IPMP_DescriptorIDEx, indent, XMTDump); in gf_odf_dump_ipmp_ptr() 1262 DumpInt(trace, "IPMP_ES_ID", ipmpd->IPMP_ES_ID, indent, XMTDump); in gf_odf_dump_ipmp_ptr() 1264 DumpInt(trace, "IPMP_DescriptorID", ipmpd->IPMP_DescriptorID, indent, XMTDump); in gf_odf_dump_ipmp_ptr()
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/filters/ |
H A D | encrypt_cenc_isma.c | 284 ipmpd = (GF_IPMP_Descriptor*)gf_odf_desc_new(GF_ODF_IPMP_TAG); in isma_enc_configure() 287 ipmpd->IPMP_DescriptorID = 0xFF; in isma_enc_configure() 288 ipmpd->IPMP_DescriptorIDEx = tci->ipmp_desc_id; in isma_enc_configure() 289 ipmpd->IPMPS_Type = 0xFFFF; in isma_enc_configure() 290 ipmpd->IPMP_ToolID[14] = 0x49; in isma_enc_configure() 291 ipmpd->IPMP_ToolID[15] = 0x53; in isma_enc_configure() 292 ipmpd->control_point = 1; in isma_enc_configure() 293 ipmpd->cp_sequence_code = 0x80; in isma_enc_configure() 300 gf_list_add(ipmpd->ipmpx_data, ismac); in isma_enc_configure() 303 ipmpd->IPMP_DescriptorID = tci->ipmp_desc_id; in isma_enc_configure() [all …]
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/filters/ |
H A D | encrypt_cenc_isma.c | 284 ipmpd = (GF_IPMP_Descriptor*)gf_odf_desc_new(GF_ODF_IPMP_TAG); in isma_enc_configure() 287 ipmpd->IPMP_DescriptorID = 0xFF; in isma_enc_configure() 288 ipmpd->IPMP_DescriptorIDEx = tci->ipmp_desc_id; in isma_enc_configure() 289 ipmpd->IPMPS_Type = 0xFFFF; in isma_enc_configure() 290 ipmpd->IPMP_ToolID[14] = 0x49; in isma_enc_configure() 291 ipmpd->IPMP_ToolID[15] = 0x53; in isma_enc_configure() 292 ipmpd->control_point = 1; in isma_enc_configure() 293 ipmpd->cp_sequence_code = 0x80; in isma_enc_configure() 300 gf_list_add(ipmpd->ipmpx_data, ismac); in isma_enc_configure() 303 ipmpd->IPMP_DescriptorID = tci->ipmp_desc_id; in isma_enc_configure() [all …]
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/include/gpac/internal/ |
H A D | odf_dev.h | 122 GF_Err gf_odf_del_ipmp_ptr(GF_IPMPPtr *ipmpd); 163 GF_Err gf_odf_read_ipmp_ptr(GF_BitStream *bs, GF_IPMPPtr *ipmpd, u32 DescSize); 199 GF_Err gf_odf_size_ipmp_ptr(GF_IPMPPtr *ipmpd, u32 *outSize); 236 GF_Err gf_odf_write_ipmp_ptr(GF_BitStream *bs, GF_IPMPPtr *ipmpd); 328 GF_Err gf_odf_dump_ipmp_ptr(GF_IPMPPtr *ipmpd, FILE *trace, u32 indent, Bool XMTDump);
|
/dports/multimedia/ccextractor/ccextractor-0.85/src/gpacmp4/gpac/internal/ |
H A D | odf_dev.h | 122 GF_Err gf_odf_del_ipmp_ptr(GF_IPMPPtr *ipmpd); 162 GF_Err gf_odf_read_ipmp_ptr(GF_BitStream *bs, GF_IPMPPtr *ipmpd, u32 DescSize); 199 GF_Err gf_odf_size_ipmp_ptr(GF_IPMPPtr *ipmpd, u32 *outSize); 236 GF_Err gf_odf_write_ipmp_ptr(GF_BitStream *bs, GF_IPMPPtr *ipmpd); 329 GF_Err gf_odf_dump_ipmp_ptr(GF_IPMPPtr *ipmpd, FILE *trace, u32 indent, Bool XMTDump);
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/include/gpac/internal/ |
H A D | odf_dev.h | 122 GF_Err gf_odf_del_ipmp_ptr(GF_IPMPPtr *ipmpd); 163 GF_Err gf_odf_read_ipmp_ptr(GF_BitStream *bs, GF_IPMPPtr *ipmpd, u32 DescSize); 199 GF_Err gf_odf_size_ipmp_ptr(GF_IPMPPtr *ipmpd, u32 *outSize); 236 GF_Err gf_odf_write_ipmp_ptr(GF_BitStream *bs, GF_IPMPPtr *ipmpd); 328 GF_Err gf_odf_dump_ipmp_ptr(GF_IPMPPtr *ipmpd, FILE *trace, u32 indent, Bool XMTDump);
|