Home
last modified time | relevance | path

Searched refs:bytespp (Results 1 – 2 of 2) sorted by relevance

/external/libaom/common/
Dtools_common.c93 const int bytespp = (yuv_frame->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in read_yuv_frame() local
122 size_t needed = w * bytespp; in read_yuv_frame()
248 const int bytespp = (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in aom_img_write() local
262 fwrite(buf, bytespp, w, file); in aom_img_write()
270 const int bytespp = (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in aom_img_read() local
284 if (fread(buf, bytespp, w, file) != (size_t)w) return false; in aom_img_read()
/external/libvpx/
Dtools_common.c86 const int bytespp = (yuv_frame->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in read_yuv_frame() local
116 size_t needed = w * bytespp; in read_yuv_frame()
226 const int bytespp = (img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in vpx_img_write() local
241 fwrite(buf, bytespp, w, file); in vpx_img_write()
249 const int bytespp = (img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in vpx_img_read() local
264 if (fread(buf, bytespp, w, file) != (size_t)w) return 0; in vpx_img_read()