summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2e34878)
Change-Id: Id2aa867fe19930aa01d5c3d73e1156b28aa45dd5
-static const char *file_exts[2] = {"png", "yuv"};
+static const char *file_exts[2] = {"png", "raw"};
int tdm_dump_enable;
char *tdm_debug_dump_dir;
int tdm_dump_enable;
char *tdm_debug_dump_dir;
- TDM_ERR("can't dump %c%c%c%c buffer", FOURCC_STR(info.format));
- tbm_surface_unmap(buffer);
- return;
+ _tdm_helper_dump_raw((const char*)temp,
+ info.planes[0].ptr,
+ info.planes[0].size,
+ info.planes[1].ptr,
+ info.planes[1].size,
+ info.planes[2].ptr,
+ info.planes[2].size);
+ break;
}
tbm_surface_unmap(buffer);
}
tbm_surface_unmap(buffer);