diff --git a/build/VS2010/HEVC_encoder.vcxproj b/build/VS2010/HEVC_encoder.vcxproj
index 6b6ede4e..cbbd3e8f 100644
--- a/build/VS2010/HEVC_encoder.vcxproj
+++ b/build/VS2010/HEVC_encoder.vcxproj
@@ -79,12 +79,16 @@
+
+
+
+
diff --git a/build/VS2010/HEVC_encoder.vcxproj.filters b/build/VS2010/HEVC_encoder.vcxproj.filters
index d59e7d17..fc706a68 100644
--- a/build/VS2010/HEVC_encoder.vcxproj.filters
+++ b/build/VS2010/HEVC_encoder.vcxproj.filters
@@ -24,6 +24,12 @@
Source Files
+
+ Source Files
+
+
+ Source Files
+
@@ -35,5 +41,11 @@
Header Files
+
+ Header Files
+
+
+ Header Files
+
\ No newline at end of file
diff --git a/src/cabac.c b/src/cabac.c
new file mode 100644
index 00000000..e69de29b
diff --git a/src/cabac.h b/src/cabac.h
new file mode 100644
index 00000000..e69de29b
diff --git a/src/encoder.h b/src/encoder.h
index a50d1182..c6f50e70 100644
--- a/src/encoder.h
+++ b/src/encoder.h
@@ -8,28 +8,31 @@
#ifndef _ENCODER_H
#define _ENCODER_H
-
+//ToDo: add ME data
typedef struct
{
- void (*IME)(encoder_control* encoder);
+ void (*IME)(encoder_control* encoder);
} encoder_me;
typedef struct
{
- FILE *file;
-
-
+ FILE* file;
+ uint32_t width;
+ uint32_t height;
+ uint32_t height_in_LCU;
+ uint32_t width_in_LCU;
} encoder_input;
typedef struct
{
encoder_input in;
encoder_me me;
- FILE *output;
+ FILE* output;
} encoder_control;
-
+init_encoder_control(encoder_control* control,FILE* output) {control->output = output;};
+init_encoder_input(encoder_input* input,FILE* inputfile, uint32_t width, uint32_t height) {input->file = inputfile; input->width = width; input->height = height;};
#endif
\ No newline at end of file