Lines Matching full:picture
954 const WebPPicture* const picture) {
957 WebPEncodingSetError(picture, VP8_ENC_ERROR_OUT_OF_MEMORY);
961 enc->pic_ = picture;
974 const WebPPicture* const picture,
978 const int width = picture->width;
979 const int height = picture->height;
980 VP8LEncoder* const enc = VP8LEncoderNew(config, picture);
1012 picture->argb + y * picture->argb_stride,
1062 if (picture->stats != NULL) {
1063 WebPAuxStats* const stats = picture->stats;
1082 const WebPPicture* const picture) {
1090 if (picture == NULL) return 0;
1092 if (config == NULL || picture->argb == NULL) {
1094 WebPEncodingSetError(picture, err);
1098 width = picture->width;
1099 height = picture->height;
1105 if (!WebPReportProgress(picture, 1, &percent)) {
1111 if (picture->stats != NULL) {
1112 WebPAuxStats* const stats = picture->stats;
1122 if (!WriteImageSize(picture, &bw)) {
1127 has_alpha = WebPPictureHasTransparency(picture);
1134 if (!WebPReportProgress(picture, 5, &percent)) goto UserAbort;
1137 err = VP8LEncodeStream(config, picture, &bw);
1141 if (!WebPReportProgress(picture, 90, &percent)) goto UserAbort;
1144 err = WriteImage(picture, &bw, &coded_size);
1147 if (!WebPReportProgress(picture, 100, &percent)) goto UserAbort;
1150 if (picture->stats != NULL) {
1151 picture->stats->coded_size += (int)coded_size;
1152 picture->stats->lossless_size = (int)coded_size;
1155 if (picture->extra_info != NULL) {
1158 memset(picture->extra_info, 0, mb_w * mb_h * sizeof(*picture->extra_info));
1165 WebPEncodingSetError(picture, err);