Searched defs:pic (Results 26 - 50 of 86) sorted by relevance

1234

/external/skqp/src/images/
H A DSkWebpEncoder.cpp143 WebPPicture pic; local
144 WebPPictureInit(&pic);
145 SkAutoTCallVProc<WebPPicture, WebPPictureFree> autoPic(&pic);
146 pic.width = pixmap.width();
147 pic.height = pixmap.height();
148 pic.writer = stream_writer;
159 pic.use_argb = 0;
163 pic.use_argb = 1;
171 pic.custom_ptr = icc ? (void*)&tmp : (void*)stream;
174 const int rgbStride = pic
[all...]
/external/v4l2_codec2/vda/
H A Dh264_dpb.cc70 for (auto& pic : pics_) {
71 pic->dpb_position = i;
98 void H264DPB::StorePic(const scoped_refptr<H264Picture>& pic) { argument
100 DVLOG(3) << "Adding PicNum: " << pic->pic_num << " ref: " << (int)pic->ref
101 << " longterm: " << (int)pic->long_term << " to DPB";
102 pic->dpb_position = pics_.size();
103 pics_.push_back(pic);
121 for (const auto& pic : pics_) {
122 if (pic
[all...]
H A Dvp9_decoder.cc137 scoped_refptr<VP9Picture> pic = accelerator_->CreateVP9Picture(); local
138 if (!pic)
152 pic->visible_rect = new_render_rect;
153 pic->frame_hdr.reset(curr_frame_hdr_.release());
155 if (!DecodeAndOutputPicture(pic)) {
162 void VP9Decoder::RefreshReferenceFrames(const scoped_refptr<VP9Picture>& pic) { argument
164 DCHECK(!pic->frame_hdr->IsKeyframe() || pic->frame_hdr->RefreshFlag(i));
165 if (pic->frame_hdr->RefreshFlag(i))
166 ref_frames_[i] = pic;
170 UpdateFrameContext( const scoped_refptr<VP9Picture>& pic, const base::Callback<void(const Vp9FrameContext&)>& context_refresh_cb) argument
185 DecodeAndOutputPicture(scoped_refptr<VP9Picture> pic) argument
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A Dradeon_vce_40_2_2.c107 RVCE_CS(enc->pic.rate_ctrl.rate_ctrl_method); // encRateControlMethod
108 RVCE_CS(enc->pic.rate_ctrl.target_bitrate); // encRateControlTargetBitRate
109 RVCE_CS(enc->pic.rate_ctrl.peak_bitrate); // encRateControlPeakBitRate
110 RVCE_CS(enc->pic.rate_ctrl.frame_rate_num); // encRateControlFrameRateNum
112 RVCE_CS(enc->pic.quant_i_frames); // encQP_I
113 RVCE_CS(enc->pic.quant_p_frames); // encQP_P
114 RVCE_CS(enc->pic.quant_b_frames); // encQP_B
115 RVCE_CS(enc->pic.rate_ctrl.vbv_buffer_size); // encVBVBufferSize
116 RVCE_CS(enc->pic.rate_ctrl.frame_rate_den); // encRateControlFrameRateDen
120 RVCE_CS(enc->pic
434 radeon_vce_40_2_2_get_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
[all...]
H A Dradeon_vce_52.c43 static void get_rate_control_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
45 enc->enc_pic.rc.rc_method = pic->rate_ctrl.rate_ctrl_method;
46 enc->enc_pic.rc.target_bitrate = pic->rate_ctrl.target_bitrate;
47 enc->enc_pic.rc.peak_bitrate = pic->rate_ctrl.peak_bitrate;
48 enc->enc_pic.rc.quant_i_frames = pic->quant_i_frames;
49 enc->enc_pic.rc.quant_p_frames = pic->quant_p_frames;
50 enc->enc_pic.rc.quant_b_frames = pic->quant_b_frames;
51 enc->enc_pic.rc.gop_size = pic->gop_size;
52 enc->enc_pic.rc.frame_rate_num = pic->rate_ctrl.frame_rate_num;
53 enc->enc_pic.rc.frame_rate_den = pic
64 get_motion_estimation_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
81 get_pic_control_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
115 get_vui_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
141 radeon_vce_52_get_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_desc *pic) argument
[all...]
H A Dradeon_vce.c118 if (i->frame_num == enc->pic.ref_idx_l0)
121 if (i->frame_num == enc->pic.ref_idx_l1)
124 if (enc->pic.picture_type == PIPE_H264_ENC_PICTURE_TYPE_P && l0)
127 if (enc->pic.picture_type == PIPE_H264_ENC_PICTURE_TYPE_B &&
263 struct pipe_h264_enc_picture_desc *pic = (struct pipe_h264_enc_picture_desc *)picture; local
266 enc->pic.rate_ctrl.rate_ctrl_method != pic->rate_ctrl.rate_ctrl_method ||
267 enc->pic.quant_i_frames != pic->quant_i_frames ||
268 enc->pic
[all...]
/external/skia/bench/
H A DSKPBench.cpp25 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale, argument
27 : fPic(SkRef(pic))
/external/skia/src/effects/
H A DSkPictureImageFilter.cpp47 static sk_sp<SkImageFilter> make_localspace_filter(sk_sp<SkPicture> pic, const SkRect& cropRect, argument
50 auto img = SkImage::MakeFromPicture(std::move(pic), dim, nullptr, nullptr,
/external/skqp/bench/
H A DSKPBench.cpp25 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale, argument
27 : fPic(SkRef(pic))
/external/skqp/src/effects/
H A DSkPictureImageFilter.cpp47 static sk_sp<SkImageFilter> make_localspace_filter(sk_sp<SkPicture> pic, const SkRect& cropRect, argument
50 auto img = SkImage::MakeFromPicture(std::move(pic), dim, nullptr, nullptr,
/external/webp/src/enc/
H A Dpicture_rescale_enc.c39 static void SnapTopLeftPosition(const WebPPicture* const pic, argument
41 if (!pic->use_argb) {
48 static int AdjustAndCheckRectangle(const WebPPicture* const pic, argument
51 SnapTopLeftPosition(pic, left, top);
54 if ((*left) + width > pic->width) return 0;
55 if ((*top) + height > pic->height) return 0;
126 int WebPPictureCrop(WebPPicture* pic, argument
130 if (pic == NULL) return 0;
131 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0;
133 PictureGrabSpecs(pic,
185 AlphaMultiplyARGB(WebPPicture* const pic, int inverse) argument
191 AlphaMultiplyY(WebPPicture* const pic, int inverse) argument
198 WebPPictureRescale(WebPPicture* pic, int width, int height) argument
293 WebPPictureCrop(WebPPicture* pic, int left, int top, int width, int height) argument
303 WebPPictureRescale(WebPPicture* pic, int width, int height) argument
[all...]
H A Dalpha_enc.c296 const WebPPicture* const pic = enc->pic_; local
297 const int width = pic->width;
298 const int height = pic->height;
308 assert(enc != NULL && pic != NULL && pic->a != NULL);
311 assert(pic->a_stride >= width);
333 WebPCopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height);
348 output_size, pic->stats);
350 if (pic
[all...]
H A Ddelta_palettization_enc.c429 const WebPPicture* const pic = enc->pic_; local
430 uint32_t* src = pic->argb;
432 const int width = pic->width;
433 const int height = pic->height;
439 err = ApplyDeltaPalette(src, dst, pic->argb_stride, enc->current_width_,
H A Dpicture_enc.c235 WebPPicture pic; local
243 !WebPPictureInit(&pic)) {
248 pic.use_argb = !!lossless;
249 pic.width = width;
250 pic.height = height;
251 pic.writer = WebPMemoryWrite;
252 pic.custom_ptr = &wrt;
255 ok = import(&pic, rgba, stride) && WebPEncode(&config, &pic);
256 WebPPictureFree(&pic);
[all...]
H A Dpicture_tools_enc.c90 void WebPCleanupTransparentArea(WebPPicture* pic) { argument
92 if (pic == NULL) return;
93 w = pic->width / SIZE;
94 h = pic->height / SIZE;
97 if (pic->use_argb) {
102 const int off = (y * pic->argb_stride + x) * SIZE;
103 if (IsTransparentARGBArea(pic->argb + off, pic->argb_stride, SIZE)) {
105 argb_value = pic->argb[off];
108 FlattenARGB(pic
172 WebPCleanupTransparentAreaLossless(WebPPicture* const pic) argument
198 WebPBlendAlpha(WebPPicture* pic, uint32_t background_rgb) argument
[all...]
H A Dsyntax_enc.c29 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
318 WebPPicture* const pic = enc->pic_; local
[all...]
H A Dwebp_enc.c299 int WebPEncodingSetError(const WebPPicture* const pic, argument
303 ((WebPPicture*)pic)->error_code = error;
307 int WebPReportProgress(const WebPPicture* const pic, argument
311 if (pic->progress_hook && !pic->progress_hook(percent, pic)) {
313 WebPEncodingSetError(pic, VP8_ENC_ERROR_USER_ABORT);
321 int WebPEncode(const WebPConfig* config, WebPPicture* pic) { argument
323 if (pic == NULL) return 0;
325 WebPEncodingSetError(pic, VP8_ENC_O
[all...]
/external/skia/gm/
H A Dfilterfastbounds.cpp240 sk_sp<SkPicture> pic; variable
247 pic = rec.finishRecordingAsPicture();
251 create_paints(&pifPaints, SkPictureImageFilter::Make(pic));
H A Dimage_pict.cpp110 static std::unique_ptr<SkImageGenerator> make_pic_generator(GrContext*, sk_sp<SkPicture> pic) { argument
113 return SkImageGenerator::MakeFromPicture({ 100, 100 }, std::move(pic), &matrix, nullptr,
133 static std::unique_ptr<SkImageGenerator> make_ras_generator(GrContext*, sk_sp<SkPicture> pic) { argument
139 canvas.drawPicture(pic);
151 TextureGenerator(GrContext* ctx, const SkImageInfo& info, sk_sp<SkPicture> pic) argument
160 surface->getCanvas()->drawPicture(pic);
215 static std::unique_ptr<SkImageGenerator> make_tex_generator(GrContext* ctx, sk_sp<SkPicture> pic) { argument
221 return skstd::make_unique<TextureGenerator>(ctx, info, pic);
/external/skia/tests/
H A DSerialProcsTest.cpp18 static sk_sp<SkImage> picture_to_image(sk_sp<SkPicture> pic) { argument
19 SkIRect r = pic->cullRect().round();
21 surf->getCanvas()->drawPicture(pic);
56 sk_sp<SkPicture> pic; local
61 pic = rec.finishRecordingAsPicture();
73 auto data = pic->serialize(&sproc);
113 static sk_sp<SkData> array_serial_proc(SkPicture* pic, void* ctx) { argument
115 if (c->fSkipMe == pic) {
118 *c->fArray.append() = pic;
119 return SkData::MakeWithCopy(&pic, sizeo
126 SkPicture* pic; local
[all...]
/external/skqp/gm/
H A Dfilterfastbounds.cpp240 sk_sp<SkPicture> pic; variable
247 pic = rec.finishRecordingAsPicture();
251 create_paints(&pifPaints, SkPictureImageFilter::Make(pic));
H A Dimage_pict.cpp110 static std::unique_ptr<SkImageGenerator> make_pic_generator(GrContext*, sk_sp<SkPicture> pic) { argument
113 return SkImageGenerator::MakeFromPicture({ 100, 100 }, std::move(pic), &matrix, nullptr,
133 static std::unique_ptr<SkImageGenerator> make_ras_generator(GrContext*, sk_sp<SkPicture> pic) { argument
139 canvas.drawPicture(pic);
151 TextureGenerator(GrContext* ctx, const SkImageInfo& info, sk_sp<SkPicture> pic) argument
160 surface->getCanvas()->drawPicture(pic);
215 static std::unique_ptr<SkImageGenerator> make_tex_generator(GrContext* ctx, sk_sp<SkPicture> pic) { argument
221 return skstd::make_unique<TextureGenerator>(ctx, info, pic);
/external/skqp/tests/
H A DSerialProcsTest.cpp18 static sk_sp<SkImage> picture_to_image(sk_sp<SkPicture> pic) { argument
19 SkIRect r = pic->cullRect().round();
21 surf->getCanvas()->drawPicture(pic);
56 sk_sp<SkPicture> pic; local
61 pic = rec.finishRecordingAsPicture();
73 auto data = pic->serialize(&sproc);
113 static sk_sp<SkData> array_serial_proc(SkPicture* pic, void* ctx) { argument
115 if (c->fSkipMe == pic) {
118 *c->fArray.append() = pic;
119 return SkData::MakeWithCopy(&pic, sizeo
126 SkPicture* pic; local
[all...]
/external/webp/src/utils/
H A Dutils.c250 int WebPGetColorPalette(const WebPPicture* const pic, uint32_t* const palette) { argument
256 const uint32_t* argb = pic->argb;
257 const int width = pic->width;
258 const int height = pic->height;
260 assert(pic != NULL);
261 assert(pic->use_argb);
289 argb += pic->argb_stride;
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_composite.c209 xa_is_filter_accelerated(struct xa_picture *pic) argument
212 if (pic && !xa_filter_to_gallium(pic->filter, &filter))

Completed in 1697 milliseconds

1234