PoolVector is gone, replaced by Vector
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
This commit is contained in:
parent
fb8c93c10b
commit
3205a92ad8
406 changed files with 5314 additions and 8271 deletions
|
|
@ -87,8 +87,8 @@ void VideoStreamPlaybackTheora::video_write(void) {
|
|||
int pitch = 4;
|
||||
frame_data.resize(size.x * size.y * pitch);
|
||||
{
|
||||
PoolVector<uint8_t>::Write w = frame_data.write();
|
||||
char *dst = (char *)w.ptr();
|
||||
uint8_t *w = frame_data.ptrw();
|
||||
char *dst = (char *)w;
|
||||
|
||||
//uv_offset=(ti.pic_x/2)+(yuv[1].stride)*(ti.pic_y/2);
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class VideoStreamPlaybackTheora : public VideoStreamPlayback {
|
|||
|
||||
//Image frames[MAX_FRAMES];
|
||||
Image::Format format;
|
||||
PoolVector<uint8_t> frame_data;
|
||||
Vector<uint8_t> frame_data;
|
||||
int frames_pending;
|
||||
FileAccess *file;
|
||||
String file_name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue