/external/chromium_org/content/common/gpu/media/ |
H A D | h264_dpb.cc | 46 void H264DPB::StorePic(H264Picture* pic) { argument 48 DVLOG(3) << "Adding PicNum: " << pic->pic_num << " ref: " << (int)pic->ref 49 << " longterm: " << (int)pic->long_term << " to DPB"; 50 pics_.push_back(pic); 69 H264Picture* pic = pics_[i]; local 70 if (pic->ref && !pic->long_term && pic->pic_num == pic_num) 71 return pic; 80 H264Picture* pic = pics_[i]; local 92 H264Picture* pic = pics_[i]; local 102 H264Picture* pic = pics_[i]; local 110 H264Picture* pic = pics_[i]; local 118 H264Picture* pic = pics_[i]; local [all...] |
H A D | vaapi_h264_decoder.cc | 129 void VaapiH264Decoder::FillVAPicture(VAPictureH264 *va_pic, H264Picture* pic) { argument 130 DCHECK(pic); 132 DecodeSurface* dec_surface = DecodeSurfaceByPoC(pic->pic_order_cnt); 141 va_pic->frame_idx = pic->frame_num; 144 switch (pic->field) { 155 if (pic->ref) { 156 va_pic->flags |= pic->long_term ? VA_PICTURE_H264_LONG_TERM_REFERENCE 160 va_pic->TopFieldOrderCnt = pic->top_field_order_cnt; 161 va_pic->BottomFieldOrderCnt = pic->bottom_field_order_cnt; 595 // TODO posciak: perhaps replace with pic 723 H264Picture* pic = *it; local 852 PicNumF(H264Picture *pic) argument 863 LongTermPicNumF(H264Picture *pic) argument 872 ShiftRightAndInsert(H264Picture::PtrVector *v, int from, int to, H264Picture* pic) argument 928 H264Picture* pic; local 1024 OutputPic(H264Picture* pic) argument 1186 H264Picture* pic = long_terms[i]; local 1209 H264Picture* pic = long_terms[i]; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsContextTest.cpp | 1184 SkPicture* pic = dl->picture(); local 1185 EXPECT_TRUE(pic); 1186 EXPECT_EQ(1, pic->getRefCnt());
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | alpha.c | 271 const WebPPicture* const pic = enc->pic_; local 272 const int width = pic->width; 273 const int height = pic->height; 283 assert(enc != NULL && pic != NULL && pic->a != NULL); 286 assert(pic->a_stride >= width); 308 CopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); 322 output_size, pic->stats); 323 if (pic [all...] |
H A D | frame.c | 488 WebPPicture* const pic = enc->pic_; local 490 if (pic->stats != NULL) { 497 if (pic->extra_info != NULL) { 498 uint8_t* const info = &pic->extra_info[it->x_ + it->y_ * enc->mb_w_]; 499 switch (pic->extra_info_type) {
|
H A D | iterator.c | 130 const WebPPicture* const pic = enc->pic_; local 131 const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16; 132 const uint8_t* const usrc = pic->u + (y * pic->uv_stride + x) * 8; 133 const uint8_t* const vsrc = pic->v + (y * pic->uv_stride + x) * 8; 134 const int w = MinSize(pic->width - x * 16, 16); 135 const int h = MinSize(pic->height - y * 16, 16); 139 ImportBlock(ysrc, pic 191 const WebPPicture* const pic = enc->pic_; local [all...] |
H A D | picture.c | 234 WebPPicture pic; local 240 !WebPPictureInit(&pic)) { 245 pic.use_argb = !!lossless; 246 pic.width = width; 247 pic.height = height; 248 pic.writer = WebPMemoryWrite; 249 pic.custom_ptr = &wrt; 252 ok = import(&pic, rgba, stride) && WebPEncode(&config, &pic); 253 WebPPictureFree(&pic); [all...] |
H A D | picture_rescale.c | 45 static void SnapTopLeftPosition(const WebPPicture* const pic, argument 47 if (!pic->use_argb) { 54 static int AdjustAndCheckRectangle(const WebPPicture* const pic, argument 57 SnapTopLeftPosition(pic, left, top); 60 if ((*left) + width > pic->width) return 0; 61 if ((*top) + height > pic->height) return 0; 132 int WebPPictureCrop(WebPPicture* pic, argument 136 if (pic == NULL) return 0; 137 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0; 139 PictureGrabSpecs(pic, 196 AlphaMultiplyARGB(WebPPicture* const pic, int inverse) argument 202 AlphaMultiplyY(WebPPicture* const pic, int inverse) argument 209 WebPPictureRescale(WebPPicture* pic, int width, int height) argument [all...] |
H A D | picture_tools.c | 68 void WebPCleanupTransparentArea(WebPPicture* pic) { argument 70 if (pic == NULL) return; 71 w = pic->width / SIZE; 72 h = pic->height / SIZE; 75 if (pic->use_argb) { 80 const int off = (y * pic->argb_stride + x) * SIZE; 81 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) { 83 argb_value = pic->argb[off]; 86 flatten_argb(pic 131 WebPBlendAlpha(WebPPicture* pic, uint32_t background_rgb) argument [all...] |
H A D | syntax.c | 29 static int PutPaddingByte(const WebPPicture* const pic) { argument 31 return !!pic->writer(pad_byte, 1, pic); 39 const WebPPicture* const pic = enc->pic_; local 45 if (!pic->writer(riff, sizeof(riff), pic)) { 52 const WebPPicture* const pic = enc->pic_; local 59 assert(pic->width >= 1 && pic->height >= 1); 60 assert(pic 77 const WebPPicture* const pic = enc->pic_; local 102 PutVP8Header(const WebPPicture* const pic, size_t vp8_size) argument 115 PutVP8FrameHeader(const WebPPicture* const pic, int profile, size_t size0) argument 151 WebPPicture* const pic = enc->pic_; local 248 EmitPartitionsSize(const VP8Encoder* const enc, WebPPicture* const pic) argument 312 WebPPicture* const pic = enc->pic_; local [all...] |
H A D | vp8l.c | 44 static int AnalyzeAndCreatePalette(const WebPPicture* const pic, argument 52 const uint32_t* argb = pic->argb; 53 const int width = pic->width; 54 const int height = pic->height; 84 argb += pic->argb_stride; 139 const WebPPicture* const pic = enc->pic_; local 140 const int width = pic->width; 141 const int height = pic->height; 146 assert(pic != NULL && pic 782 WriteRiffHeader(const WebPPicture* const pic, size_t riff_size, size_t vp8l_size) argument 796 WriteImageSize(const WebPPicture* const pic, VP8LBitWriter* const bw) argument 813 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument 936 const WebPPicture* const pic = enc->pic_; local 1007 const WebPPicture* const pic = enc->pic_; local [all...] |
H A D | webpenc.c | 288 int WebPEncodingSetError(const WebPPicture* const pic, argument 292 ((WebPPicture*)pic)->error_code = error; 296 int WebPReportProgress(const WebPPicture* const pic, argument 300 if (pic->progress_hook && !pic->progress_hook(percent, pic)) { 302 WebPEncodingSetError(pic, VP8_ENC_ERROR_USER_ABORT); 310 int WebPEncode(const WebPConfig* config, WebPPicture* pic) { argument 313 if (pic == NULL) 315 WebPEncodingSetError(pic, VP8_ENC_O [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | xa_composite.c | 207 xa_is_filter_accelerated(struct xa_picture *pic) argument 210 if (pic && !xa_filter_to_gallium(pic->filter, &filter))
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
H A D | xorg_composite.c | 164 static boolean is_filter_accelerated(PicturePtr pic) argument 167 if (pic && !render_filter_to_gallium(pic->filter, &filter))
|
/external/chromium_org/third_party/skia/bench/ |
H A D | RecordingBench.cpp | 15 RecordingBench::RecordingBench(const char* name, const SkPicture* pic, bool useBBH) argument 16 : fSrc(SkRef(pic))
|
H A D | SKPBench.cpp | 10 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale) argument 11 : fPic(SkRef(pic))
|
H A D | nanobench.cpp | 441 static bool ReadPicture(const char* path, SkAutoTUnref<SkPicture>* pic) { argument 454 pic->reset(SkPicture::CreateFromStream(stream.get())); 455 if (pic->get() == NULL) { 484 SkAutoTUnref<SkPicture> pic; local 485 if (!ReadPicture(path.c_str(), &pic)) { 491 return SkNEW_ARGS(RecordingBench, (name.c_str(), pic.get(), FLAGS_bbh)); 498 SkAutoTUnref<SkPicture> pic; local 499 if (!ReadPicture(path.c_str(), &pic)) { 512 pic->playback(recorder.beginRecording(pic [all...] |
/external/chromium_org/third_party/skia/dm/ |
H A D | DMSKPTask.cpp | 15 const SkPicture* pic, 18 , fPicture(SkRef(pic)) 13 SKPTask(Reporter* r, TaskRunner* tr, const SkPicture* pic, SkString filename) argument
|
/external/chromium_org/third_party/skia/experimental/nanomsg/ |
H A D | picture_demo.cpp | 66 SkPicture* pic = SkPicture::CreateFromStream(&stream); local 71 return pic;
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleClamp.cpp | 53 SkPicture pic; local 54 SkCanvas* c = pic.beginRecording(100, 100, 0);
|
H A D | SamplePdfFileViewer.cpp | 43 SkPicture* pic = SkNEW(SkPicture); local 44 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), 47 pic->endRecording(); 48 return pic;
|
H A D | SamplePictFile.cpp | 120 SkAutoTUnref<SkPicture> pic; local 130 pic.reset(recorder.endRecording()); 134 pic.reset(SkPicture::CreateFromStream(&stream)); 140 SkSurface* surf = SkSurface::NewRasterPMColor(SkScalarCeilToInt(pic->cullRect().width()), 141 SkScalarCeilToInt(pic->cullRect().height())); 142 surf->getCanvas()->drawPicture(pic); 147 pic->playback(recorder.beginRecording(pic->cullRect().width(), 148 pic->cullRect().height(), 159 if (NULL == pic) { [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkPicturePlayback.cpp | 344 const SkPicture* pic = fPictureData->getPicture(reader); local 345 canvas->drawPicture(pic, &matrix, paint);
|
H A D | SkRecorder.cpp | 204 void SkRecorder::onDrawPicture(const SkPicture* pic, const SkMatrix* matrix, const SkPaint* paint) { argument 205 APPEND(DrawPicture, this->copy(paint), pic, this->copy(matrix));
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkImageDecoder_libwebp.cpp | 623 WebPPicture pic; local 624 WebPPictureInit(&pic); 625 pic.width = bm.width(); 626 pic.height = bm.height(); 627 pic.writer = stream_writer; 628 pic.custom_ptr = (void*)stream; 632 const int rgbStride = pic.width * bpp; 636 uint8_t* rgb = new uint8_t[rgbStride * pic.height]; 637 for (int y = 0; y < pic.height; ++y) { 639 pic [all...] |