Searched defs:rgb_stride (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/remoting/codec/
H A Dvideo_encoder_vpx.cc384 const int rgb_stride = frame.stride(); local
397 int rgb_offset = rgb_stride * rect.top() +
400 libyuv::ARGBToI444(rgb_data + rgb_offset, rgb_stride,
411 int rgb_offset = rgb_stride * rect.top() +
415 libyuv::ARGBToI420(rgb_data + rgb_offset, rgb_stride,
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture_csp.c151 GammaToLinear((ptr)[rgb_stride]) + \
152 GammaToLinear((ptr)[rgb_stride + step]), 0) \
157 LinearToGamma(GammaToLinear((ptr)[0]) + GammaToLinear((ptr)[rgb_stride]), 1)
162 const int src = (2 * (step * (x) + (y) * rgb_stride)); \
176 int rgb_stride, // bytes per scanline
182 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride);
201 const int offset = step * x + y * rgb_stride;
230 a_ptr[step * x + y * rgb_stride];
334 const uint8_t* const rgb, int rgb_stride,
345 return ImportYUVAFromRGBA(r_ptr, g_ptr, b_ptr, a_ptr, step, rgb_stride,
171 ImportYUVAFromRGBA(const uint8_t* const r_ptr, const uint8_t* const g_ptr, const uint8_t* const b_ptr, const uint8_t* const a_ptr, int step, int rgb_stride, float dithering, WebPPicture* const picture) argument
333 Import(WebPPicture* const picture, const uint8_t* const rgb, int rgb_stride, int step, int swap_rb, int import_alpha) argument
365 WebPPictureImportRGB(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
370 WebPPictureImportBGR(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
[all...]
/external/webp/src/enc/
H A Dpicture_csp.c151 GammaToLinear((ptr)[rgb_stride]) + \
152 GammaToLinear((ptr)[rgb_stride + step]), 0) \
157 LinearToGamma(GammaToLinear((ptr)[0]) + GammaToLinear((ptr)[rgb_stride]), 1)
162 const int src = (2 * (step * (x) + (y) * rgb_stride)); \
176 int rgb_stride, // bytes per scanline
182 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride);
201 const int offset = step * x + y * rgb_stride;
230 a_ptr[step * x + y * rgb_stride];
334 const uint8_t* const rgb, int rgb_stride,
345 return ImportYUVAFromRGBA(r_ptr, g_ptr, b_ptr, a_ptr, step, rgb_stride,
171 ImportYUVAFromRGBA(const uint8_t* const r_ptr, const uint8_t* const g_ptr, const uint8_t* const b_ptr, const uint8_t* const a_ptr, int step, int rgb_stride, float dithering, WebPPicture* const picture) argument
333 Import(WebPPicture* const picture, const uint8_t* const rgb, int rgb_stride, int step, int swap_rb, int import_alpha) argument
365 WebPPictureImportRGB(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
370 WebPPictureImportBGR(WebPPicture* picture, const uint8_t* rgb, int rgb_stride) argument
[all...]

Completed in 134 milliseconds