require '_h2ph_pre.ph';

unless(defined(&_LINUX_VIDEO_DECODER_H)) {
    eval 'sub _LINUX_VIDEO_DECODER_H () {1;}' unless defined(&_LINUX_VIDEO_DECODER_H);
    eval 'sub VIDEO_DECODER_PAL () {1;}' unless defined(&VIDEO_DECODER_PAL);
    eval 'sub VIDEO_DECODER_NTSC () {2;}' unless defined(&VIDEO_DECODER_NTSC);
    eval 'sub VIDEO_DECODER_SECAM () {4;}' unless defined(&VIDEO_DECODER_SECAM);
    eval 'sub VIDEO_DECODER_AUTO () {8;}' unless defined(&VIDEO_DECODER_AUTO);
    eval 'sub VIDEO_DECODER_CCIR () {16;}' unless defined(&VIDEO_DECODER_CCIR);
    eval 'sub DECODER_STATUS_GOOD () {1;}' unless defined(&DECODER_STATUS_GOOD);
    eval 'sub DECODER_STATUS_COLOR () {2;}' unless defined(&DECODER_STATUS_COLOR);
    eval 'sub DECODER_STATUS_PAL () {4;}' unless defined(&DECODER_STATUS_PAL);
    eval 'sub DECODER_STATUS_NTSC () {8;}' unless defined(&DECODER_STATUS_NTSC);
    eval 'sub DECODER_STATUS_SECAM () {16;}' unless defined(&DECODER_STATUS_SECAM);
    eval 'sub DECODER_GET_CAPABILITIES () { &_IOR(ord(\'d\'), 1, \'struct video_decoder_capability\');}' unless defined(&DECODER_GET_CAPABILITIES);
    eval 'sub DECODER_GET_STATUS () { &_IOR(ord(\'d\'), 2, \'int\');}' unless defined(&DECODER_GET_STATUS);
    eval 'sub DECODER_SET_NORM () { &_IOW(ord(\'d\'), 3, \'int\');}' unless defined(&DECODER_SET_NORM);
    eval 'sub DECODER_SET_INPUT () { &_IOW(ord(\'d\'), 4, \'int\');}' unless defined(&DECODER_SET_INPUT);
    eval 'sub DECODER_SET_OUTPUT () { &_IOW(ord(\'d\'), 5, \'int\');}' unless defined(&DECODER_SET_OUTPUT);
    eval 'sub DECODER_ENABLE_OUTPUT () { &_IOW(ord(\'d\'), 6, \'int\');}' unless defined(&DECODER_ENABLE_OUTPUT);
    eval 'sub DECODER_SET_PICTURE () { &_IOW(ord(\'d\'), 7, \'struct video_picture\');}' unless defined(&DECODER_SET_PICTURE);
    eval 'sub DECODER_DUMP () { &_IO(ord(\'d\'), 192);}' unless defined(&DECODER_DUMP);
}
1;
