Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/avi/intern/avi_rgb.c
| Show All 31 Lines | |||||
| #include "avi_rgb.h" | #include "avi_rgb.h" | ||||
| #include "IMB_imbuf.h" | #include "IMB_imbuf.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| /* implementation */ | /* implementation */ | ||||
| void *avi_converter_from_avi_rgb(AviMovie *movie, int stream, unsigned char *buffer, size_t *size) | void *avi_converter_from_avi_rgb(AviMovie *movie, | ||||
| int stream, | |||||
| unsigned char *buffer, | |||||
| const size_t *size) | |||||
| { | { | ||||
| unsigned char *buf; | unsigned char *buf; | ||||
| AviBitmapInfoHeader *bi; | AviBitmapInfoHeader *bi; | ||||
| short bits = 32; | short bits = 32; | ||||
| (void)size; /* unused */ | (void)size; /* unused */ | ||||
| bi = (AviBitmapInfoHeader *)movie->streams[stream].sf; | bi = (AviBitmapInfoHeader *)movie->streams[stream].sf; | ||||
| ▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines | |||||