require '_h2ph_pre.ph';

unless(defined(&_LINUX_VIDEO_ENCODER_H)) {
    eval 'sub _LINUX_VIDEO_ENCODER_H () {1;}' unless defined(&_LINUX_VIDEO_ENCODER_H);
    eval 'sub VIDEO_ENCODER_PAL () {1;}' unless defined(&VIDEO_ENCODER_PAL);
    eval 'sub VIDEO_ENCODER_NTSC () {2;}' unless defined(&VIDEO_ENCODER_NTSC);
    eval 'sub VIDEO_ENCODER_SECAM () {4;}' unless defined(&VIDEO_ENCODER_SECAM);
    eval 'sub VIDEO_ENCODER_CCIR () {16;}' unless defined(&VIDEO_ENCODER_CCIR);
    eval 'sub ENCODER_GET_CAPABILITIES () { &_IOR(ord(\'e\'), 1, \'struct video_encoder_capability\');}' unless defined(&ENCODER_GET_CAPABILITIES);
    eval 'sub ENCODER_SET_NORM () { &_IOW(ord(\'e\'), 2, \'int\');}' unless defined(&ENCODER_SET_NORM);
    eval 'sub ENCODER_SET_INPUT () { &_IOW(ord(\'e\'), 3, \'int\');}' unless defined(&ENCODER_SET_INPUT);
    eval 'sub ENCODER_SET_OUTPUT () { &_IOW(ord(\'e\'), 4, \'int\');}' unless defined(&ENCODER_SET_OUTPUT);
    eval 'sub ENCODER_ENABLE_OUTPUT () { &_IOW(ord(\'e\'), 5, \'int\');}' unless defined(&ENCODER_ENABLE_OUTPUT);
}
1;
