#include "pbo_frame_allocator.h"
+#include <bmusb/bmusb.h>
+#include <movit/util.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <cstddef>
-#include <movit/util.h>
-
using namespace std;
PBOFrameAllocator::PBOFrameAllocator(size_t frame_size, GLuint width, GLuint height, size_t num_queued_frames, GLenum buffer, GLenum permissions, GLenum map_bits)
userdata[i].last_height[1] = 0;
userdata[i].last_interlaced = false;
userdata[i].last_has_signal = false;
+ userdata[i].last_is_connected = false;
for (unsigned field = 0; field < 2; ++field) {
glBindTexture(GL_TEXTURE_2D, userdata[i].tex_y[field]);
check_error();
}
//static int sumsum = 0;
-FrameAllocator::Frame PBOFrameAllocator::alloc_frame()
+bmusb::FrameAllocator::Frame PBOFrameAllocator::alloc_frame()
{
Frame vf;