libandroidplugin added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VLIB / P264 / p264_gob_layer.c
1 #include <VLIB/video_controller.h>
2 #include <VLIB/video_packetizer.h>
3
4 #include "p264_codec.h"
5 #include "p264_layers.h"
6
7 C_RESULT p264_write_gob_layer( video_stream_t* stream, p264_gob_layer_t* gob )
8 {
9   video_write_data( stream, gob->quant, 6 );
10
11   return C_OK;
12 }
13
14 C_RESULT p264_read_gob_layer( video_stream_t* stream, p264_gob_layer_t* gob )
15 {
16   gob->quant = 0;
17
18   video_read_data( stream, &gob->quant, 6 );
19
20   return C_OK;
21 }