luxlabs header browser preview


@class NSString, WK_RTCVideoCodecInfo;

@interface WK_RTCVideoEncoderH264 : NSObject <RTCVideoEncoder> {
    WK_RTCVideoCodecInfo *_codecInfo;
    struct unique_ptr<webrtc::BitrateAdjuster, std::default_delete<webrtc::BitrateAdjuster>> { struct __compressed_pair<webrtc::BitrateAdjuster *, std::default_delete<webrtc::BitrateAdjuster>> { struct BitrateAdjuster *__value_; } __ptr_; } _bitrateAdjuster;
    unsigned int _targetBitrateBps;
    unsigned int _encoderBitrateBps;
    unsigned int _encoderFrameRate;
    unsigned int _maxAllowedFrameRate;
    unsigned long long _packetizationMode;
    struct optional<webrtc::H264ProfileLevelId> { BOOL engaged_; union { struct H264ProfileLevelId { int profile; int level; } data_; struct dummy_type { struct empty_struct { } data[8]; } dummy_; } ; } _profile_level_id;
    id /* block */ _callback;
    int _width;
    int _height;
    BOOL _useVCP;
    BOOL _useBaseline;
    struct OpaqueVTCompressionSession { } *_vtCompressionSession;
    void *_vcpCompressionSession;
    unsigned long long _mode;
    struct H264BitstreamParser { void /* function */ **_vptr$BitstreamParser; struct optional<webrtc::SpsParser::SpsState> { BOOL engaged_; union { struct SpsState { unsigned int width; unsigned int height; unsigned int delta_pic_order_always_zero_flag; unsigned int separate_colour_plane_flag; unsigned int frame_mbs_only_flag; unsigned int log2_max_frame_num; unsigned int log2_max_pic_order_cnt_lsb; unsigned int pic_order_cnt_type; unsigned int max_num_ref_frames; unsigned int vui_params_present; unsigned int id; } data_; struct dummy_type { struct empty_struct { } data[44]; } dummy_; } ; } sps_; struct optional<webrtc::PpsParser::PpsState> { BOOL engaged_; union { struct PpsState { BOOL bottom_field_pic_order_in_frame_present_flag; BOOL weighted_pred_flag; BOOL entropy_coding_mode_flag; unsigned int weighted_bipred_idc; unsigned int redundant_pic_cnt_present_flag; int pic_init_qp_minus26; unsigned int id; unsigned int sps_id; } data_; struct dummy_type { struct empty_struct { } data[24]; } dummy_; } ; } pps_; struct optional<int> { BOOL engaged_; union { int data_; struct dummy_type { struct empty_struct { } data[4]; } dummy_; } ; } last_slice_qp_delta_; } _h264BitstreamParser;
    struct vector<unsigned char, std::allocator<unsigned char>> { char *__begin_; char *__end_; struct __compressed_pair<unsigned char *, std::allocator<unsigned char>> { char *__value_; } __end_cap_; } _frameScaleBuffer;
    BOOL _disableEncoding;
    BOOL _isKeyFrameRequired;
    BOOL _isH264LowLatencyEncoderEnabled;
    BOOL _isUsingSoftwareEncoder;
    BOOL _isBelowExpectedFrameRate;
    unsigned int _frameCount;
    long long _lastFrameRateEstimationTime;
    BOOL _useAnnexB;
    BOOL _needsToSendDescription;
    id /* block */ _descriptionCallback;
}

@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

- (void)setCallback:(id /* block */)a0;
- (void)dealloc;
- (void)flush;
- (id).cxx_construct;
- (void).cxx_destruct;
- (id)scalingSettings;
- (void)setEncoderBitrateBps:(unsigned int)a0 frameRate:(unsigned int)a1;
- (void)configureCompressionSession;
- (void)destroyCompressionSession;
- (long long)encode:(id)a0 codecSpecificInfo:(id)a1 frameTypes:(id)a2;
- (void)frameWasEncoded:(int)a0 flags:(unsigned int)a1 sampleBuffer:(struct opaqueCMSampleBuffer { } *)a2 codecSpecificInfo:(id)a3 width:(int)a4 height:(int)a5 renderTimeMs:(long long)a6 timestamp:(long long)a7 duration:(unsigned long long)a8 rotation:(long long)a9 isKeyFrameRequired:(BOOL)a10;
- (BOOL)hasCompressionSession;
- (id)implementationName;
- (id)initWithCodecInfo:(id)a0;
- (unsigned int)pixelFormatOfFrame:(id)a0;
- (long long)releaseEncoder;
- (BOOL)resetCompressionSessionIfNeededWithFrame:(id)a0;
- (int)resetCompressionSessionWithPixelFormat:(unsigned int)a0;
- (int)setBitrate:(unsigned int)a0 framerate:(unsigned int)a1;
- (void)setBitrateBps:(unsigned int)a0 frameRate:(unsigned int)a1;
- (void)setDescriptionCallback:(id /* block */)a0;
- (void)setH264LowLatencyEncoderEnabled:(BOOL)a0;
- (void)setUseAnnexB:(BOOL)a0;
- (long long)startEncodeWithSettings:(id)a0 numberOfCores:(int)a1;
- (void)updateBitRateAccordingActualFrameRate;

@end