Skip to content

Instantly share code, notes, and snippets.

View grill2010's full-sized avatar

grill2010 grill2010

View GitHub Profile
@grill2010
grill2010 / H265Error.swift
Created August 13, 2022 12:32
Sampel Renderer
import Foundation
import AVFoundation
import VideoToolbox
import remoteplay
public enum H265Error : Error, CustomStringConvertible {
case invalidNALUType
case cmBlockBufferCreateWithMemoryBlock(OSStatus)
case cmBlockBufferAppendBufferReference(OSStatus)
case cmSampleBufferCreateReady(OSStatus)
@grill2010
grill2010 / sceNPRemotePlayFunctions.txt
Last active September 15, 2021 08:27
Remote Play sceNP function calls
sceNpManagerIntInitialize
sceNpMatching2Initialize
sceNpMatching2SignalingEnableManualUdpMode
sceNpManagerIntCreateRequest
sceNpManagerIntSetAccessToken
sceNpManagerIntDeleteRequest
sceNpGetNpId
sceNpMatching2RegisterContextCallback
sceNpMatching2CreateContext
sceNpMatching2RegisterRoomEventCallback
// C code
char** jerasure_create_ptr_container(int ptr_count) {
return malloc((ptr_count) * sizeof(char*));
}
void jerasure_add_ptr_to_ptr_container(char** ptr_container, char* ptr, int index) {
ptr_container[index] = ptr;
}