mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-05 23:57:39 +08:00
2023-10-27 06:28:27 CST W43D5
This commit is contained in:
@@ -9,32 +9,32 @@ import "unsafe"
|
||||
// AVSubsampleEncryptionInfo
|
||||
type AVSubsampleEncryptionInfo C.struct_AVSubsampleEncryptionInfo
|
||||
|
||||
// Custom: GetBytesOfClearData gets `AVSubsampleEncryptionInfo.bytes_of_clear_data` value.
|
||||
// GetBytesOfClearData gets `AVSubsampleEncryptionInfo.bytes_of_clear_data` value.
|
||||
func (sei *AVSubsampleEncryptionInfo) GetBytesOfClearData() uint32 {
|
||||
return (uint32)(sei.bytes_of_clear_data)
|
||||
}
|
||||
|
||||
// Custom: SetBytesOfClearData sets `AVSubsampleEncryptionInfo.bytes_of_clear_data` value.
|
||||
// SetBytesOfClearData sets `AVSubsampleEncryptionInfo.bytes_of_clear_data` value.
|
||||
func (sei *AVSubsampleEncryptionInfo) SetBytesOfClearData(v uint32) {
|
||||
sei.bytes_of_clear_data = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetBytesOfClearDataAddr gets `AVSubsampleEncryptionInfo.bytes_of_clear_data` address.
|
||||
// GetBytesOfClearDataAddr gets `AVSubsampleEncryptionInfo.bytes_of_clear_data` address.
|
||||
func (sei *AVSubsampleEncryptionInfo) GetBytesOfClearDataAddr() *uint32 {
|
||||
return (*uint32)(&sei.bytes_of_clear_data)
|
||||
}
|
||||
|
||||
// Custom: GetBytesOfProtectedData gets `AVSubsampleEncryptionInfo.bytes_of_protected_data` value.
|
||||
// GetBytesOfProtectedData gets `AVSubsampleEncryptionInfo.bytes_of_protected_data` value.
|
||||
func (sei *AVSubsampleEncryptionInfo) GetBytesOfProtectedData() uint32 {
|
||||
return (uint32)(sei.bytes_of_protected_data)
|
||||
}
|
||||
|
||||
// Custom: SetBytesOfProtectedData sets `AVSubsampleEncryptionInfo.bytes_of_protected_data` value.
|
||||
// SetBytesOfProtectedData sets `AVSubsampleEncryptionInfo.bytes_of_protected_data` value.
|
||||
func (sei *AVSubsampleEncryptionInfo) SetBytesOfProtectedData(v uint32) {
|
||||
sei.bytes_of_protected_data = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetBytesOfProtectedDataAddr gets `AVSubsampleEncryptionInfo.bytes_of_protected_data` address.
|
||||
// GetBytesOfProtectedDataAddr gets `AVSubsampleEncryptionInfo.bytes_of_protected_data` address.
|
||||
func (sei *AVSubsampleEncryptionInfo) GetBytesOfProtectedDataAddr() *uint32 {
|
||||
return (*uint32)(&sei.bytes_of_protected_data)
|
||||
}
|
||||
@@ -42,137 +42,137 @@ func (sei *AVSubsampleEncryptionInfo) GetBytesOfProtectedDataAddr() *uint32 {
|
||||
// AVEncryptionInfo
|
||||
type AVEncryptionInfo C.struct_AVEncryptionInfo
|
||||
|
||||
// Custom: GetScheme gets `AVEncryptionInfo.scheme` value.
|
||||
// GetScheme gets `AVEncryptionInfo.scheme` value.
|
||||
func (ei *AVEncryptionInfo) GetScheme() uint32 {
|
||||
return (uint32)(ei.scheme)
|
||||
}
|
||||
|
||||
// Custom: SetScheme sets `AVEncryptionInfo.scheme` value.
|
||||
// SetScheme sets `AVEncryptionInfo.scheme` value.
|
||||
func (ei *AVEncryptionInfo) SetScheme(v uint32) {
|
||||
ei.scheme = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSchemeAddr gets `AVEncryptionInfo.scheme` address.
|
||||
// GetSchemeAddr gets `AVEncryptionInfo.scheme` address.
|
||||
func (ei *AVEncryptionInfo) GetSchemeAddr() *uint32 {
|
||||
return (*uint32)(&ei.scheme)
|
||||
}
|
||||
|
||||
// Custom: GetCryptByteBlock gets `AVEncryptionInfo.crypt_byte_block` value.
|
||||
// GetCryptByteBlock gets `AVEncryptionInfo.crypt_byte_block` value.
|
||||
func (ei *AVEncryptionInfo) GetCryptByteBlock() uint32 {
|
||||
return (uint32)(ei.crypt_byte_block)
|
||||
}
|
||||
|
||||
// Custom: SetCryptByteBlock sets `AVEncryptionInfo.crypt_byte_block` value.
|
||||
// SetCryptByteBlock sets `AVEncryptionInfo.crypt_byte_block` value.
|
||||
func (ei *AVEncryptionInfo) SetCryptByteBlock(v uint32) {
|
||||
ei.crypt_byte_block = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetCryptByteBlockAddr gets `AVEncryptionInfo.crypt_byte_block` address.
|
||||
// GetCryptByteBlockAddr gets `AVEncryptionInfo.crypt_byte_block` address.
|
||||
func (ei *AVEncryptionInfo) GetCryptByteBlockAddr() *uint32 {
|
||||
return (*uint32)(&ei.crypt_byte_block)
|
||||
}
|
||||
|
||||
// Custom: GetSkipByteBlock gets `AVEncryptionInfo.skip_byte_block` value.
|
||||
// GetSkipByteBlock gets `AVEncryptionInfo.skip_byte_block` value.
|
||||
func (ei *AVEncryptionInfo) GetSkipByteBlock() uint32 {
|
||||
return (uint32)(ei.skip_byte_block)
|
||||
}
|
||||
|
||||
// Custom: SetSkipByteBlock sets `AVEncryptionInfo.skip_byte_block` value.
|
||||
// SetSkipByteBlock sets `AVEncryptionInfo.skip_byte_block` value.
|
||||
func (ei *AVEncryptionInfo) SetSkipByteBlock(v uint32) {
|
||||
ei.skip_byte_block = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSkipByteBlockAddr gets `AVEncryptionInfo.skip_byte_block` address.
|
||||
// GetSkipByteBlockAddr gets `AVEncryptionInfo.skip_byte_block` address.
|
||||
func (ei *AVEncryptionInfo) GetSkipByteBlockAddr() *uint32 {
|
||||
return (*uint32)(&ei.skip_byte_block)
|
||||
}
|
||||
|
||||
// Custom: GetKeyId gets `AVEncryptionInfo.key_id` value.
|
||||
// GetKeyId gets `AVEncryptionInfo.key_id` value.
|
||||
func (ei *AVEncryptionInfo) GetKeyId() *uint8 {
|
||||
return (*uint8)(ei.key_id)
|
||||
}
|
||||
|
||||
// Custom: SetKeyId sets `AVEncryptionInfo.key_id` value.
|
||||
// SetKeyId sets `AVEncryptionInfo.key_id` value.
|
||||
func (ei *AVEncryptionInfo) SetKeyId(v *uint8) {
|
||||
ei.key_id = (*C.uint8_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetKeyIdAddr gets `AVEncryptionInfo.key_id` address.
|
||||
// GetKeyIdAddr gets `AVEncryptionInfo.key_id` address.
|
||||
func (ei *AVEncryptionInfo) GetKeyIdAddr() **uint8 {
|
||||
return (**uint8)(unsafe.Pointer(&ei.key_id))
|
||||
}
|
||||
|
||||
// Custom: GetKeyIdSize gets `AVEncryptionInfo.key_id_size` value.
|
||||
// GetKeyIdSize gets `AVEncryptionInfo.key_id_size` value.
|
||||
func (ei *AVEncryptionInfo) GetKeyIdSize() uint32 {
|
||||
return (uint32)(ei.key_id_size)
|
||||
}
|
||||
|
||||
// Custom: SetKeyIdSize sets `AVEncryptionInfo.key_id_size` value.
|
||||
// SetKeyIdSize sets `AVEncryptionInfo.key_id_size` value.
|
||||
func (ei *AVEncryptionInfo) SetKeyIdSize(v uint32) {
|
||||
ei.key_id_size = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetKeyIdSizeAddr gets `AVEncryptionInfo.key_id_size` address.
|
||||
// GetKeyIdSizeAddr gets `AVEncryptionInfo.key_id_size` address.
|
||||
func (ei *AVEncryptionInfo) GetKeyIdSizeAddr() *uint32 {
|
||||
return (*uint32)(&ei.key_id_size)
|
||||
}
|
||||
|
||||
// Custom: GetIv gets `AVEncryptionInfo.iv` value.
|
||||
// GetIv gets `AVEncryptionInfo.iv` value.
|
||||
func (ei *AVEncryptionInfo) GetIv() *uint8 {
|
||||
return (*uint8)(ei.iv)
|
||||
}
|
||||
|
||||
// Custom: SetIv sets `AVEncryptionInfo.iv` value.
|
||||
// SetIv sets `AVEncryptionInfo.iv` value.
|
||||
func (ei *AVEncryptionInfo) SetIv(v *uint8) {
|
||||
ei.iv = (*C.uint8_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetIvAddr gets `AVEncryptionInfo.iv` address.
|
||||
// GetIvAddr gets `AVEncryptionInfo.iv` address.
|
||||
func (ei *AVEncryptionInfo) GetIvAddr() **uint8 {
|
||||
return (**uint8)(unsafe.Pointer(&ei.iv))
|
||||
}
|
||||
|
||||
// Custom: GetIvSize gets `AVEncryptionInfo.iv_size` value.
|
||||
// GetIvSize gets `AVEncryptionInfo.iv_size` value.
|
||||
func (ei *AVEncryptionInfo) GetIvSize() uint32 {
|
||||
return (uint32)(ei.iv_size)
|
||||
}
|
||||
|
||||
// Custom: SetIvSize sets `AVEncryptionInfo.iv_size` value.
|
||||
// SetIvSize sets `AVEncryptionInfo.iv_size` value.
|
||||
func (ei *AVEncryptionInfo) SetIvSize(v uint32) {
|
||||
ei.iv_size = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetIvSizeAddr gets `AVEncryptionInfo.iv_size` address.
|
||||
// GetIvSizeAddr gets `AVEncryptionInfo.iv_size` address.
|
||||
func (ei *AVEncryptionInfo) GetIvSizeAddr() *uint32 {
|
||||
return (*uint32)(&ei.iv_size)
|
||||
}
|
||||
|
||||
// Custom: GetSubsamples gets `AVEncryptionInfo.subsamples` value.
|
||||
// GetSubsamples gets `AVEncryptionInfo.subsamples` value.
|
||||
func (ei *AVEncryptionInfo) GetSubsamples() *AVSubsampleEncryptionInfo {
|
||||
return (*AVSubsampleEncryptionInfo)(ei.subsamples)
|
||||
}
|
||||
|
||||
// Custom: SetSubsamples sets `AVEncryptionInfo.subsamples` value.
|
||||
// SetSubsamples sets `AVEncryptionInfo.subsamples` value.
|
||||
func (ei *AVEncryptionInfo) SetSubsamples(v *AVSubsampleEncryptionInfo) {
|
||||
ei.subsamples = (*C.struct_AVSubsampleEncryptionInfo)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSubsamplesAddr gets `AVEncryptionInfo.subsamples` address.
|
||||
// GetSubsamplesAddr gets `AVEncryptionInfo.subsamples` address.
|
||||
func (ei *AVEncryptionInfo) GetSubsamplesAddr() **AVSubsampleEncryptionInfo {
|
||||
return (**AVSubsampleEncryptionInfo)(unsafe.Pointer(&ei.subsamples))
|
||||
}
|
||||
|
||||
// Custom: GetSubsampleCount gets `AVEncryptionInfo.subsample_count` value.
|
||||
// GetSubsampleCount gets `AVEncryptionInfo.subsample_count` value.
|
||||
func (ei *AVEncryptionInfo) GetSubsampleCount() uint32 {
|
||||
return (uint32)(ei.subsample_count)
|
||||
}
|
||||
|
||||
// Custom: SetSubsampleCount sets `AVEncryptionInfo.subsample_count` value.
|
||||
// SetSubsampleCount sets `AVEncryptionInfo.subsample_count` value.
|
||||
func (ei *AVEncryptionInfo) SetSubsampleCount(v uint32) {
|
||||
ei.subsample_count = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSubsampleCountAddr gets `AVEncryptionInfo.subsample_count` address.
|
||||
// GetSubsampleCountAddr gets `AVEncryptionInfo.subsample_count` address.
|
||||
func (ei *AVEncryptionInfo) GetSubsampleCountAddr() *uint32 {
|
||||
return (*uint32)(&ei.subsample_count)
|
||||
}
|
||||
@@ -180,122 +180,122 @@ func (ei *AVEncryptionInfo) GetSubsampleCountAddr() *uint32 {
|
||||
// AVEncryptionInitInfo
|
||||
type AVEncryptionInitInfo C.struct_AVEncryptionInitInfo
|
||||
|
||||
// Custom: GetSystemId gets `AVEncryptionInitInfo.system_id` value.
|
||||
// GetSystemId gets `AVEncryptionInitInfo.system_id` value.
|
||||
func (eii *AVEncryptionInitInfo) GetSystemId() *uint8 {
|
||||
return (*uint8)(eii.system_id)
|
||||
}
|
||||
|
||||
// Custom: SetSystemId sets `AVEncryptionInitInfo.system_id` value.
|
||||
// SetSystemId sets `AVEncryptionInitInfo.system_id` value.
|
||||
func (eii *AVEncryptionInitInfo) SetSystemId(v *uint8) {
|
||||
eii.system_id = (*C.uint8_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSystemIdAddr gets `AVEncryptionInitInfo.system_id` address.
|
||||
// GetSystemIdAddr gets `AVEncryptionInitInfo.system_id` address.
|
||||
func (eii *AVEncryptionInitInfo) GetSystemIdAddr() **uint8 {
|
||||
return (**uint8)(unsafe.Pointer(&eii.system_id))
|
||||
}
|
||||
|
||||
// Custom: GetSystemIdSize gets `AVEncryptionInitInfo.system_id_size` value.
|
||||
// GetSystemIdSize gets `AVEncryptionInitInfo.system_id_size` value.
|
||||
func (eii *AVEncryptionInitInfo) GetSystemIdSize() uint32 {
|
||||
return (uint32)(eii.system_id_size)
|
||||
}
|
||||
|
||||
// Custom: SetSystemIdSize sets `AVEncryptionInitInfo.system_id_size` value.
|
||||
// SetSystemIdSize sets `AVEncryptionInitInfo.system_id_size` value.
|
||||
func (eii *AVEncryptionInitInfo) SetSystemIdSize(v uint32) {
|
||||
eii.system_id_size = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetSystemIdSizeAddr gets `AVEncryptionInitInfo.system_id_size` address.
|
||||
// GetSystemIdSizeAddr gets `AVEncryptionInitInfo.system_id_size` address.
|
||||
func (eii *AVEncryptionInitInfo) GetSystemIdSizeAddr() *uint32 {
|
||||
return (*uint32)(&eii.system_id_size)
|
||||
}
|
||||
|
||||
// Custom: GetKeyIds gets `AVEncryptionInitInfo.key_ids` value.
|
||||
// GetKeyIds gets `AVEncryptionInitInfo.key_ids` value.
|
||||
func (eii *AVEncryptionInitInfo) GetKeyIds() []*uint8 {
|
||||
return unsafe.Slice((**uint8)(unsafe.Pointer(eii.key_ids)), eii.key_id_size)
|
||||
}
|
||||
|
||||
// Custom: SetKeyIds sets `AVEncryptionInitInfo.key_ids` value.
|
||||
// SetKeyIds sets `AVEncryptionInitInfo.key_ids` value.
|
||||
func (eii *AVEncryptionInitInfo) SetKeyIds(v **uint8) {
|
||||
eii.key_ids = (**C.uint8_t)(unsafe.Pointer(v))
|
||||
}
|
||||
|
||||
// Custom: GetKeyIdsAddr gets `AVEncryptionInitInfo.key_ids` address.
|
||||
// GetKeyIdsAddr gets `AVEncryptionInitInfo.key_ids` address.
|
||||
func (eii *AVEncryptionInitInfo) GetKeyIdsAddr() ***uint8 {
|
||||
return (***uint8)(unsafe.Pointer(&eii.key_ids))
|
||||
}
|
||||
|
||||
// Custom: GetNumKeyIds gets `AVEncryptionInitInfo.num_key_ids` value.
|
||||
// GetNumKeyIds gets `AVEncryptionInitInfo.num_key_ids` value.
|
||||
func (eii *AVEncryptionInitInfo) GetNumKeyIds() uint32 {
|
||||
return (uint32)(eii.num_key_ids)
|
||||
}
|
||||
|
||||
// Custom: SetNumKeyIds sets `AVEncryptionInitInfo.num_key_ids` value.
|
||||
// SetNumKeyIds sets `AVEncryptionInitInfo.num_key_ids` value.
|
||||
func (eii *AVEncryptionInitInfo) SetNumKeyIds(v uint32) {
|
||||
eii.num_key_ids = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetNumKeyIdsAddr gets `AVEncryptionInitInfo.num_key_ids` address.
|
||||
// GetNumKeyIdsAddr gets `AVEncryptionInitInfo.num_key_ids` address.
|
||||
func (eii *AVEncryptionInitInfo) GetNumKeyIdsAddr() *uint32 {
|
||||
return (*uint32)(&eii.num_key_ids)
|
||||
}
|
||||
|
||||
// Custom: GetKeyIdSize gets `AVEncryptionInitInfo.key_id_size` value.
|
||||
// GetKeyIdSize gets `AVEncryptionInitInfo.key_id_size` value.
|
||||
func (eii *AVEncryptionInitInfo) GetKeyIdSize() uint32 {
|
||||
return (uint32)(eii.key_id_size)
|
||||
}
|
||||
|
||||
// Custom: SetKeyIdSize sets `AVEncryptionInitInfo.key_id_size` value.
|
||||
// SetKeyIdSize sets `AVEncryptionInitInfo.key_id_size` value.
|
||||
func (eii *AVEncryptionInitInfo) SetKeyIdSize(v uint32) {
|
||||
eii.key_id_size = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetKeyIdSizeAddr gets `AVEncryptionInitInfo.key_id_size` address.
|
||||
// GetKeyIdSizeAddr gets `AVEncryptionInitInfo.key_id_size` address.
|
||||
func (eii *AVEncryptionInitInfo) GetKeyIdSizeAddr() *uint32 {
|
||||
return (*uint32)(&eii.key_id_size)
|
||||
}
|
||||
|
||||
// Custom: GetData gets `AVEncryptionInitInfo.data` value.
|
||||
// GetData gets `AVEncryptionInitInfo.data` value.
|
||||
func (eii *AVEncryptionInitInfo) GetData() *uint8 {
|
||||
return (*uint8)(eii.data)
|
||||
}
|
||||
|
||||
// Custom: SetData sets `AVEncryptionInitInfo.data` value.
|
||||
// SetData sets `AVEncryptionInitInfo.data` value.
|
||||
func (eii *AVEncryptionInitInfo) SetData(v *uint8) {
|
||||
eii.data = (*C.uint8_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetDataAddr gets `AVEncryptionInitInfo.data` address.
|
||||
// GetDataAddr gets `AVEncryptionInitInfo.data` address.
|
||||
func (eii *AVEncryptionInitInfo) GetDataAddr() **uint8 {
|
||||
return (**uint8)(unsafe.Pointer(&eii.data))
|
||||
}
|
||||
|
||||
// Custom: GetDataSize gets `AVEncryptionInitInfo.data_size` value.
|
||||
// GetDataSize gets `AVEncryptionInitInfo.data_size` value.
|
||||
func (eii *AVEncryptionInitInfo) GetDataSize() uint32 {
|
||||
return (uint32)(eii.data_size)
|
||||
}
|
||||
|
||||
// Custom: SetDataSize sets `AVEncryptionInitInfo.data_size` value.
|
||||
// SetDataSize sets `AVEncryptionInitInfo.data_size` value.
|
||||
func (eii *AVEncryptionInitInfo) SetDataSize(v uint32) {
|
||||
eii.data_size = (C.uint32_t)(v)
|
||||
}
|
||||
|
||||
// Custom: GetDataSizeAddr gets `AVEncryptionInitInfo.data_size` address.
|
||||
// GetDataSizeAddr gets `AVEncryptionInitInfo.data_size` address.
|
||||
func (eii *AVEncryptionInitInfo) GetDataSizeAddr() *uint32 {
|
||||
return (*uint32)(&eii.data_size)
|
||||
}
|
||||
|
||||
// Custom: GetNext gets `AVEncryptionInitInfo.next` value.
|
||||
// GetNext gets `AVEncryptionInitInfo.next` value.
|
||||
func (eii *AVEncryptionInitInfo) GetNext() *AVEncryptionInitInfo {
|
||||
return (*AVEncryptionInitInfo)(eii.next)
|
||||
}
|
||||
|
||||
// Custom: SetNext sets `AVEncryptionInitInfo.next` value.
|
||||
// SetNext sets `AVEncryptionInitInfo.next` value.
|
||||
func (eii *AVEncryptionInitInfo) SetNext(v *AVEncryptionInitInfo) {
|
||||
eii.next = (*C.struct_AVEncryptionInitInfo)(v)
|
||||
}
|
||||
|
||||
// Custom: GetNextAddr gets `AVEncryptionInitInfo.next` address.
|
||||
// GetNextAddr gets `AVEncryptionInitInfo.next` address.
|
||||
func (eii *AVEncryptionInitInfo) GetNextAddr() **AVEncryptionInitInfo {
|
||||
return (**AVEncryptionInitInfo)(unsafe.Pointer(&eii.next))
|
||||
}
|
||||
|
Reference in New Issue
Block a user